You are on page 1of 69

Sybase PowerDesigner

Physical Data Model Report


Model: Model Penjadwalan Report: Full Physical Report

Author: Faisal Tifta Zany Version: Date: 5/11/2013 Summary:

Physical Data Model Model Penjadwalan

Report Full Physical Report

Table of Contents

Sybase PowerDesigner

5/11/2013Page 2 of 69

Physical Data Model

Model Penjadwalan

I Specifications
Include specifications here...

PowerDesigner

5/11/2013

Page 3

Physical Data Model

Model Penjadwalan

II Model information
II.1 Card of model Model Penjadwalan
Name Code Comment DBMS Database Model Penjadwalan MODEL_PENJADWALAN MySQL 5.0 <None>

PowerDesigner

5/11/2013

Page 4

Physical Data Model

Model Penjadwalan

III PDM Diagrams


III.1Model level diagrams
III.1.1Diagram TabelDatabase

PowerDesigner

5/11/2013

Page 5

Physical Data Model

Model Penjadwalan

IV Physical diagrams objects


IV.1 References
IV.1.1Model level references IV.1.1.1
Name ambil ambil memiliki mengajar mengajar punya_ruang punya_waktu punya_waktu

List of references
Code AMBIL AMBIL2 MEMILIKI MENGAJAR2 MENGAJAR PUNYA_RUANG PUNYA_WAKTU PUNYA_WAKTU2 Parent Table mahasiswa mata_kuliah prodi mata_kuliah dosen dosen dosen waktu Child Table ambil ambil mata_kuliah mengajar mengajar ruang punya_waktu punya_waktu

IV.1.1.2
IV.1.1.2.1
Name Code Parent Table Child Table

Reference ambil
Card of reference ambil
ambil AMBIL mahasiswa ambil

IV.1.1.2.2

Code preview of the reference ambil

alter table TBL_AMBIL add constraint FK_AMBIL foreign key (NIM) references TBL_MAHASISWA (NIM) on delete cascade on update restrict;

IV.1.1.2.3
TabelDatabase

List of diagrams containing the reference ambil


Name TABELDATABASE Code

IV.1.1.2.4
NIM

List of reference joins of the reference ambil


Parent Table Column NIM Child Table Column

PowerDesigner

5/11/2013

Page 6

Physical Data Model

Model Penjadwalan

IV.1.1.2.5

List of extended attributes of the reference ambil


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.3
IV.1.1.3.1
Name Code Parent Table Child Table

Reference ambil
Card of reference ambil
ambil AMBIL2 mata_kuliah ambil

IV.1.1.3.2

Code preview of the reference ambil

alter table TBL_AMBIL add constraint FK_AMBIL2 foreign key (KODE_MK) references TBL_MATA_KULIAH (KODE_MK) on delete cascade on update restrict;

IV.1.1.3.3
TabelDatabase

List of diagrams containing the reference ambil


Name TABELDATABASE Code

IV.1.1.3.4
KODE_MK

List of reference joins of the reference ambil


Parent Table Column KODE_MK Child Table Column

IV.1.1.3.5

List of extended attributes of the reference ambil


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.4
IV.1.1.4.1
Name Code Parent Table Child Table

Reference memiliki
Card of reference memiliki
memiliki MEMILIKI prodi mata_kuliah

PowerDesigner

5/11/2013

Page 7

Physical Data Model

Model Penjadwalan

IV.1.1.4.2

Code preview of the reference memiliki

alter table TBL_MATA_KULIAH add constraint FK_MEMILIKI foreign key (KODE_PRODI) references TBL_PRODI (KODE_PRODI) on delete cascade on update restrict;

IV.1.1.4.3
TabelDatabase

List of diagrams containing the reference memiliki


Name TABELDATABASE Code

IV.1.1.4.4

List of reference joins of the reference memiliki


Child Table Column KODE_PRODI

Parent Table Column KODE_PRODI

IV.1.1.4.5

List of extended attributes of the reference memiliki


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.5
IV.1.1.5.1
Name Code Parent Table Child Table

Reference mengajar
Card of reference mengajar
mengajar MENGAJAR2 mata_kuliah mengajar

IV.1.1.5.2

Code preview of the reference mengajar

alter table TBL_MENGAJAR add constraint FK_MENGAJAR2 foreign key (KODE_MK) references TBL_MATA_KULIAH (KODE_MK) on delete cascade on update restrict;

IV.1.1.5.3
TabelDatabase

List of diagrams containing the reference mengajar


Name TABELDATABASE Code

IV.1.1.5.4
KODE_MK

List of reference joins of the reference mengajar


Parent Table Column KODE_MK Child Table Column

PowerDesigner

5/11/2013

Page 8

Physical Data Model

Model Penjadwalan

IV.1.1.5.5

List of extended attributes of the reference mengajar


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.6
IV.1.1.6.1
Name Code Parent Table Child Table

Reference mengajar
Card of reference mengajar
mengajar MENGAJAR dosen mengajar

IV.1.1.6.2

Code preview of the reference mengajar

alter table TBL_MENGAJAR add constraint FK_MENGAJAR foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict;

IV.1.1.6.3
TabelDatabase

List of diagrams containing the reference mengajar


Name TABELDATABASE Code

IV.1.1.6.4
NIP

List of reference joins of the reference mengajar


Parent Table Column NIP Child Table Column

IV.1.1.6.5

List of extended attributes of the reference mengajar


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.7
IV.1.1.7.1
Name Code Parent Table Child Table

Reference punya_ruang
Card of reference punya_ruang
punya_ruang PUNYA_RUANG dosen ruang

PowerDesigner

5/11/2013

Page 9

Physical Data Model

Model Penjadwalan

IV.1.1.7.2

Code preview of the reference punya_ruang

alter table TBL_RUANG add constraint FK_PUNYA_RUANG foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict;

IV.1.1.7.3
TabelDatabase

List of diagrams containing the reference punya_ruang


Name TABELDATABASE Code

IV.1.1.7.4
NIP

List of reference joins of the reference punya_ruang


Parent Table Column NIP Child Table Column

IV.1.1.7.5

List of extended attributes of the reference punya_ruang


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.8
IV.1.1.8.1
Name Code Parent Table Child Table

Reference punya_waktu
Card of reference punya_waktu
punya_waktu PUNYA_WAKTU dosen punya_waktu

IV.1.1.8.2

Code preview of the reference punya_waktu

alter table TBL_PUNYA_WAKTU add constraint FK_PUNYA_WAKTU foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict;

IV.1.1.8.3
TabelDatabase

List of diagrams containing the reference punya_waktu


Name TABELDATABASE Code

IV.1.1.8.4
NIP

List of reference joins of the reference punya_waktu


Parent Table Column NIP Child Table Column

PowerDesigner

5/11/2013

Page 10

Physical Data Model

Model Penjadwalan

IV.1.1.8.5

List of extended attributes of the reference punya_waktu


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

IV.1.1.9
IV.1.1.9.1
Name Code Parent Table Child Table

Reference punya_waktu
Card of reference punya_waktu
punya_waktu PUNYA_WAKTU2 waktu punya_waktu

IV.1.1.9.2

Code preview of the reference punya_waktu

alter table TBL_PUNYA_WAKTU add constraint FK_PUNYA_WAKTU2 foreign key (ID_WAKTU) references TBL_WAKTU (ID_WAKTU) on delete cascade on update restrict;

IV.1.1.9.3
TabelDatabase

List of diagrams containing the reference punya_waktu


Name TABELDATABASE Code

IV.1.1.9.4
ID_WAKTU

List of reference joins of the reference punya_waktu


Parent Table Column ID_WAKTU Child Table Column

IV.1.1.9.5

List of extended attributes of the reference punya_waktu


Data Type ReferenceMatchT ype Value Target Name MySQL 5.0

Name ReferenceMatch

PowerDesigner

5/11/2013

Page 11

Physical Data Model

Model Penjadwalan

IV.2 Tables
IV.2.1Model level tables IV.2.1.1
ambil dosen mahasiswa mata_kuliah mengajar prodi punya_waktu ruang waktu

List of tables
Name Code TBL_AMBIL TBL_DOSEN TBL_MAHASISWA TBL_MATA_KULIAH TBL_MENGAJAR TBL_PRODI TBL_PUNYA_WAKTU TBL_RUANG TBL_WAKTU

IV.2.1.2

List of table columns


Name Code NIP NAMA GELAR_DEPAN GELAR_BELAKANG NO_HP STATUS EMAIL NIM NAMA KODE_MK KODE_PRODI NAMA_MK SKS SEMESTER KODE_RUANG NIP NAMA_RUANG KAPASITAS ID_WAKTU HARI JAM_MASUK JAM_KELUAR KODE_PRODI NAMA_PRODI

NIP NAMA GELAR_DEPAN GELAR_BELAKANG NO_HP STATUS EMAIL NIM NAMA KODE_MK KODE_PRODI NAMA_MK SKS SEMESTER KODE_RUANG NIP NAMA_RUANG KAPASITAS ID_WAKTU HARI JAM_MASUK JAM_KELUAR KODE_PRODI NAMA_PRODI

PowerDesigner

5/11/2013

Page 12

Physical Data Model

Model Penjadwalan

NIP KODE_MK NIP ID_WAKTU TAHUN_AJARAN NIM KODE_MK TAHUN_AJARAN

NIP KODE_MK NIP ID_WAKTU TAHUN_AJARAN NIM KODE_MK TAHUN_AJARAN

IV.2.1.3
Identifier_1 Identifier_1 Identifier_1 Identifier_1 Identifier_1 Identifier_1 Identifier_1 Identifier_1 Identifier_1

List of table keys


Name Code IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 IDENTIFIER_1 Table dosen mahasiswa mata_kuliah ruang waktu prodi mengajar punya_waktu ambil

IV.2.1.4
Name

List of table indexes


Code TBL_DOSEN_P K TBL_MAHASIS WA_PK TBL_MATA_K ULIAH_PK MEMILIKI_FK TBL_RUANG_ PK PUNYA_RUAN G_FK TBL_WAKTU_ PK TBL_PRODI_P K MENGAJAR_F K MENGAJAR2_ Uniqu e X X X X Cluste r Prima ry X X X X X X X X X X X X
5/11/2013

Foreig Altern n Key ate Key dosen

Table

TBL_DOSEN_P K TBL_MAHASIS WA_PK TBL_MATA_K ULIAH_PK MEMILIKI_FK TBL_RUANG_ PK PUNYA_RUAN G_FK TBL_WAKTU_ PK TBL_PRODI_P K MENGAJAR_F K MENGAJAR2_
PowerDesigner

mahasiswa mata_kuliah mata_kuliah ruang ruang waktu prodi mengajar mengajar


Page 13

Physical Data Model

Model Penjadwalan

FK PUNYA_WAKT U_FK PUNYA_WAKT U2_FK AMBIL_FK AMBIL2_FK

FK PUNYA_WAKT U_FK PUNYA_WAKT U2_FK AMBIL_FK AMBIL2_FK

X X X X

punya_waktu punya_waktu ambil ambil

IV.2.1.5
IV.2.1.5.1
Name Code DBMS

Table ambil
Card of table ambil
ambil TBL_AMBIL MySQL 5.0

IV.2.1.5.2 IV.2.1.5.3
%RULES%

Check constraint name of the table ambil Server validation rule of the table ambil Code preview of the table ambil

TK_TBL_AMBIL

IV.2.1.5.4

drop table if exists TBL_AMBIL; /*==============================================================*/ /* Table: TBL_AMBIL */ /*==============================================================*/ create table TBL_AMBIL ( NIM varchar(50) not null, KODE_MK varchar(50) not null, TAHUN_AJARAN varchar(10), primary key (NIM, KODE_MK) ); alter table TBL_AMBIL add constraint FK_AMBIL foreign key (NIM) references TBL_MAHASISWA (NIM) on delete cascade on update restrict; alter table TBL_AMBIL add constraint FK_AMBIL2 foreign key (KODE_MK) references TBL_MATA_KULIAH (KODE_MK) on delete cascade on update restrict;

IV.2.1.5.5
TabelDatabase

List of diagrams containing the table ambil


Name TABELDATABASE Code

PowerDesigner

5/11/2013

Page 14

Physical Data Model

Model Penjadwalan

IV.2.1.5.6
ambil ambil

List of outgoing references of the table ambil


Name AMBIL2 AMBIL Code Foreign Key Columns KODE_MK NIM

IV.2.1.5.7
ambil ambil

List of all dependencies of the table ambil


Name AMBIL2 AMBIL Code Class Name Reference Reference

IV.2.1.5.8
Temporary

List of extended attributes of the table ambil


Name Data Type (Boolean) Value false Target Name MySQL 5.0

IV.2.1.5.9

List of columns of the table ambil


Name Code NIM KODE_MK TAHUN_AJARAN

NIM KODE_MK TAHUN_AJARAN

IV.2.1.5.10
Name Code Data Type Mandatory

Column NIM of the table ambil


NIM NIM varchar(50) Yes

IV.2.1.5.10.1Card of the column NIM of the table ambil

IV.2.1.5.10.2Check constraint name of the column NIM of the table ambil


CK_NIM

IV.2.1.5.10.3Check of the column NIM of the table ambil

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

PowerDesigner

5/11/2013

Page 15

Physical Data Model

Model Penjadwalan

IV.2.1.5.10.4Server validation rule of the column NIM of the table ambil


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.10.5List of all dependencies of the table column NIM

Name Identifier_1 NIM ? IDENTIFIER_1 NIM ?

Code

Class Name Key Index Column Reference Join

IV.2.1.5.10.6List of extended attributes of the table column NIM

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.5.11
Name Code Data Type Mandatory

Column KODE_MK of the table ambil


KODE_MK KODE_MK varchar(50) Yes

IV.2.1.5.11.1Card of the column KODE_MK of the table ambil

IV.2.1.5.11.2Check constraint name of the column KODE_MK of the table ambil


CK_KODE_MK

IV.2.1.5.11.3Check of the column KODE_MK of the table ambil

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.5.11.4Server validation rule of the column KODE_MK of the table ambil


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.11.5List of all dependencies of the table column KODE_MK

Name
PowerDesigner

Code
5/11/2013

Class Name
Page 16

Physical Data Model

Model Penjadwalan

Identifier_1 KODE_MK ?

IDENTIFIER_1 KODE_MK ?

Key Index Column Reference Join

IV.2.1.5.11.6List of extended attributes of the table column KODE_MK

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.5.12
Name Code Data Type Mandatory

Column TAHUN_AJARAN of the table ambil


TAHUN_AJARAN TAHUN_AJARAN varchar(10) No

IV.2.1.5.12.1Card of the column TAHUN_AJARAN of the table ambil

IV.2.1.5.12.2Check constraint name of the column TAHUN_AJARAN of the table ambil


CK_TAHUN_AJARAN

IV.2.1.5.12.3Check of the column TAHUN_AJARAN of the table ambil

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.5.12.4Server validation rule of the column TAHUN_AJARAN of the table ambil


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.5.12.5List of extended attributes of the table column TAHUN_AJARAN

Name CharSet Collate National Unsigned ZeroFill


PowerDesigner

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false


5/11/2013

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0
Page 17

Physical Data Model

Model Penjadwalan

IV.2.1.5.13
Identifier_1

List of keys of the table ambil


Name IDENTIFIER_1 Code X Primary

IV.2.1.5.14
Name Code Table

Key Identifier_1 of the table ambil


Identifier_1 IDENTIFIER_1 ambil

IV.2.1.5.14.1Card of the key Identifier_1 of the table ambil

IV.2.1.5.14.2Code preview of the key Identifier_1 of the table ambil


alter table TBL_AMBIL drop primary key;

IV.2.1.5.14.3List of columns of the table key Identifier_1

Name NIM KODE_MK NIM KODE_MK

Code

IV.2.1.5.14.4List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.5.15
Name AMBIL_FK AMBIL2_FK

List of indexes of the table ambil


Code AMBIL_FK AMBIL2_FK Unique Cluster Primary Foreign Key X X Alternate Key

IV.2.1.5.16
Name Code Unique Cluster Primary
PowerDesigner

Index AMBIL_FK of the table ambil


AMBIL_FK AMBIL_FK No No No
5/11/2013 Page 18

IV.2.1.5.16.1Card of the index AMBIL_FK of the table ambil

Physical Data Model

Model Penjadwalan

Foreign Key Alternate Key Table

Yes No ambil

IV.2.1.5.16.2Code preview of the index AMBIL_FK of the table ambil


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.5.16.3List of index columns of the table index AMBIL_FK

Name NIM NIM

Code

Sort Ascending

IV.2.1.5.16.4List of extended attributes of the table index AMBIL_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.5.17
Name Code Unique Cluster Primary Foreign Key Alternate Key Table

Index AMBIL2_FK of the table ambil


AMBIL2_FK AMBIL2_FK No No No Yes No ambil

IV.2.1.5.17.1Card of the index AMBIL2_FK of the table ambil

IV.2.1.5.17.2Code preview of the index AMBIL2_FK of the table ambil


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.5.17.3List of index columns of the table index AMBIL2_FK

Name KODE_MK KODE_MK

Code

Sort Ascending

IV.2.1.5.17.4List of extended attributes of the table index AMBIL2_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

PowerDesigner

5/11/2013

Page 19

Physical Data Model

Model Penjadwalan

IV.2.1.6
IV.2.1.6.1
Name Code DBMS

Table dosen
Card of table dosen
dosen TBL_DOSEN MySQL 5.0

IV.2.1.6.2 IV.2.1.6.3
%RULES%

Check constraint name of the table dosen Server validation rule of the table dosen Code preview of the table dosen

TK_TBL_DOSEN

IV.2.1.6.4

drop table if exists TBL_DOSEN; /*==============================================================*/ /* Table: TBL_DOSEN */ /*==============================================================*/ create table TBL_DOSEN ( NIP varchar(50) not null, NAMA varchar(100), GELAR_DEPAN varchar(50), GELAR_BELAKANG varchar(50), NO_HP varchar(50), STATUS longtext, EMAIL varchar(50), primary key (NIP) );

IV.2.1.6.5
TabelDatabase

List of diagrams containing the table dosen


Name TABELDATABASE Code

IV.2.1.6.6
mengajar punya_ruang punya_waktu

List of incoming references of the table dosen


Name MENGAJAR PUNYA_RUANG PUNYA_WAKTU Code

IV.2.1.6.7

List of all dependencies of the table dosen


Name Code Class Name

PowerDesigner

5/11/2013

Page 20

Physical Data Model

Model Penjadwalan

mengajar punya_ruang punya_waktu

MENGAJAR PUNYA_RUANG PUNYA_WAKTU

Reference Reference Reference

IV.2.1.6.8
Temporary

List of extended attributes of the table dosen


Name Data Type (Boolean) Value false Target Name MySQL 5.0

IV.2.1.6.9

List of columns of the table dosen


Name Code NIP NAMA GELAR_DEPAN GELAR_BELAKANG NO_HP STATUS EMAIL

NIP NAMA GELAR_DEPAN GELAR_BELAKANG NO_HP STATUS EMAIL

IV.2.1.6.10
Name Code Data Type Mandatory

Column NIP of the table dosen


NIP NIP varchar(50) Yes

IV.2.1.6.10.1Card of the column NIP of the table dosen

IV.2.1.6.10.2Check constraint name of the column NIP of the table dosen


CK_NIP

IV.2.1.6.10.3Check of the column NIP of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.10.4Server validation rule of the column NIP of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

PowerDesigner

5/11/2013

Page 21

Physical Data Model

Model Penjadwalan

IV.2.1.6.10.5List of all dependencies of the table column NIP

Name Identifier_1 NIP ? ? ? IDENTIFIER_1 NIP ? ? ?

Code

Class Name Key Index Column Reference Join Reference Join Reference Join

IV.2.1.6.10.6List of extended attributes of the table column NIP

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.11
Name Code Data Type Mandatory

Column NAMA of the table dosen


NAMA NAMA varchar(100) No

IV.2.1.6.11.1Card of the column NAMA of the table dosen

IV.2.1.6.11.2Check constraint name of the column NAMA of the table dosen


CK_NAMA

IV.2.1.6.11.3Check of the column NAMA of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.11.4Server validation rule of the column NAMA of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.11.5List of extended attributes of the table column NAMA

Name

Data Type

Value

Target Name

PowerDesigner

5/11/2013

Page 22

Physical Data Model

Model Penjadwalan

CharSet Collate National Unsigned ZeroFill

CharSets (String) (Boolean) (Boolean) (Boolean)

false false false

MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.12
Name Code Data Type Mandatory

Column GELAR_DEPAN of the table dosen


GELAR_DEPAN GELAR_DEPAN varchar(50) No

IV.2.1.6.12.1Card of the column GELAR_DEPAN of the table dosen

IV.2.1.6.12.2Check constraint name of the column GELAR_DEPAN of the table dosen


CK_GELAR_DEPAN

IV.2.1.6.12.3Check of the column GELAR_DEPAN of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.12.4Server validation rule of the column GELAR_DEPAN of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.12.5List of extended attributes of the table column GELAR_DEPAN

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.13
Name Code
PowerDesigner

Column GELAR_BELAKANG of the table dosen


GELAR_BELAKANG GELAR_BELAKANG
5/11/2013 Page 23

IV.2.1.6.13.1Card of the column GELAR_BELAKANG of the table dosen

Physical Data Model

Model Penjadwalan

Data Type Mandatory

varchar(50) No

IV.2.1.6.13.2Check constraint name of the column GELAR_BELAKANG of the table dosen


CK_GELAR_BELAKANG

IV.2.1.6.13.3Check of the column GELAR_BELAKANG of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.13.4Server validation rule of the column GELAR_BELAKANG of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.13.5List of extended attributes of the table column GELAR_BELAKANG

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.14
Name Code Data Type Mandatory

Column NO_HP of the table dosen


NO_HP NO_HP varchar(50) No

IV.2.1.6.14.1Card of the column NO_HP of the table dosen

IV.2.1.6.14.2Check constraint name of the column NO_HP of the table dosen


CK_NO_HP

IV.2.1.6.14.3Check of the column NO_HP of the table dosen

Minimum Value Maximum Value Default Value Unit


PowerDesigner 5/11/2013 Page 24

Physical Data Model

Model Penjadwalan

Format Cannot Modify List Of Values

No

IV.2.1.6.14.4Server validation rule of the column NO_HP of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.14.5List of extended attributes of the table column NO_HP

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.15
Name Code Data Type Mandatory

Column STATUS of the table dosen


STATUS STATUS longtext No

IV.2.1.6.15.1Card of the column STATUS of the table dosen

IV.2.1.6.15.2Check constraint name of the column STATUS of the table dosen


CK_STATUS

IV.2.1.6.15.3Check of the column STATUS of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.15.4Server validation rule of the column STATUS of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.15.5List of extended attributes of the table column STATUS

Name CharSet Collate


PowerDesigner

Data Type CharSets (String)

Value

Target Name MySQL 5.0 MySQL 5.0


Page 25

5/11/2013

Physical Data Model

Model Penjadwalan

National Unsigned ZeroFill

(Boolean) (Boolean) (Boolean)

false false false

MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.16
Name Code Data Type Mandatory

Column EMAIL of the table dosen


EMAIL EMAIL varchar(50) No

IV.2.1.6.16.1Card of the column EMAIL of the table dosen

IV.2.1.6.16.2Check constraint name of the column EMAIL of the table dosen


CK_EMAIL

IV.2.1.6.16.3Check of the column EMAIL of the table dosen

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.6.16.4Server validation rule of the column EMAIL of the table dosen


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.6.16.5List of extended attributes of the table column EMAIL

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.6.17
Identifier_1

List of keys of the table dosen


Name IDENTIFIER_1 Code X Primary

PowerDesigner

5/11/2013

Page 26

Physical Data Model

Model Penjadwalan

IV.2.1.6.18
Name Code Table

Key Identifier_1 of the table dosen


Identifier_1 IDENTIFIER_1 dosen

IV.2.1.6.18.1Card of the key Identifier_1 of the table dosen

IV.2.1.6.18.2Code preview of the key Identifier_1 of the table dosen


alter table TBL_DOSEN drop primary key;

IV.2.1.6.18.3List of columns of the table key Identifier_1

Name NIP NIP

Code

IV.2.1.6.18.4List of all dependencies of the table key Identifier_1

Name mengajar punya_ruang punya_waktu TBL_DOSEN_PK

Code MENGAJAR PUNYA_RUANG PUNYA_WAKTU TBL_DOSEN_PK

Class Name Reference Reference Reference Index

IV.2.1.6.18.5List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.6.19
Name

List of indexes of the table dosen


Code TBL_DOSEN_P K Unique X Cluster Primary X Foreign Key Alternate Key

TBL_DOSEN_P K

IV.2.1.6.20
Name Code Unique Cluster Primary
PowerDesigner

Index TBL_DOSEN_PK of the table dosen


TBL_DOSEN_PK TBL_DOSEN_PK Yes No Yes
5/11/2013 Page 27

IV.2.1.6.20.1Card of the index TBL_DOSEN_PK of the table dosen

Physical Data Model

Model Penjadwalan

Foreign Key Alternate Key Table

No No dosen

IV.2.1.6.20.2Code preview of the index TBL_DOSEN_PK of the table dosen


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.6.20.3List of index columns of the table index TBL_DOSEN_PK

Name NIP NIP

Code

Sort Ascending

IV.2.1.6.20.4List of extended attributes of the table index TBL_DOSEN_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.7
IV.2.1.7.1
Name Code DBMS

Table mahasiswa
Card of table mahasiswa
mahasiswa TBL_MAHASISWA MySQL 5.0

IV.2.1.7.2 IV.2.1.7.3
%RULES%

Check constraint name of the table mahasiswa Server validation rule of the table mahasiswa Code preview of the table mahasiswa

TK_TBL_MAHASISWA

IV.2.1.7.4

drop table if exists TBL_MAHASISWA; /*==============================================================*/ /* Table: TBL_MAHASISWA */ /*==============================================================*/ create table TBL_MAHASISWA ( NIM varchar(50) not null, NAMA varchar(100), primary key (NIM) );

PowerDesigner

5/11/2013

Page 28

Physical Data Model

Model Penjadwalan

IV.2.1.7.5
TabelDatabase

List of diagrams containing the table mahasiswa


Name TABELDATABASE Code

IV.2.1.7.6
ambil

List of incoming references of the table mahasiswa


Name AMBIL Code

IV.2.1.7.7
ambil

List of all dependencies of the table mahasiswa


Name AMBIL Code Class Name Reference

IV.2.1.7.8
Temporary

List of extended attributes of the table mahasiswa


Name Data Type (Boolean) Value false Target Name MySQL 5.0

IV.2.1.7.9
NIM NAMA

List of columns of the table mahasiswa


Name NIM NAMA Code

IV.2.1.7.10
Name Code Data Type Mandatory

Column NIM of the table mahasiswa


NIM NIM varchar(50) Yes

IV.2.1.7.10.1Card of the column NIM of the table mahasiswa

IV.2.1.7.10.2Check constraint name of the column NIM of the table mahasiswa


CK_NIM

IV.2.1.7.10.3Check of the column NIM of the table mahasiswa

Minimum Value Maximum Value Default Value Unit Format

PowerDesigner

5/11/2013

Page 29

Physical Data Model

Model Penjadwalan

Cannot Modify List Of Values

No

IV.2.1.7.10.4Server validation rule of the column NIM of the table mahasiswa


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.7.10.5List of all dependencies of the table column NIM

Name Identifier_1 NIM ? IDENTIFIER_1 NIM ?

Code

Class Name Key Index Column Reference Join

IV.2.1.7.10.6List of extended attributes of the table column NIM

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.7.11
Name Code Data Type Mandatory

Column NAMA of the table mahasiswa


NAMA NAMA varchar(100) No

IV.2.1.7.11.1Card of the column NAMA of the table mahasiswa

IV.2.1.7.11.2Check constraint name of the column NAMA of the table mahasiswa


CK_NAMA

IV.2.1.7.11.3Check of the column NAMA of the table mahasiswa

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

PowerDesigner

5/11/2013

Page 30

Physical Data Model

Model Penjadwalan

IV.2.1.7.11.4Server validation rule of the column NAMA of the table mahasiswa


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.7.11.5List of extended attributes of the table column NAMA

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.7.12
Identifier_1

List of keys of the table mahasiswa


Name IDENTIFIER_1 Code X Primary

IV.2.1.7.13
Name Code Table

Key Identifier_1 of the table mahasiswa


Identifier_1 IDENTIFIER_1 mahasiswa

IV.2.1.7.13.1Card of the key Identifier_1 of the table mahasiswa

IV.2.1.7.13.2Code preview of the key Identifier_1 of the table mahasiswa


alter table TBL_MAHASISWA drop primary key;

IV.2.1.7.13.3List of columns of the table key Identifier_1

Name NIM NIM

Code

IV.2.1.7.13.4List of all dependencies of the table key Identifier_1

Name ambil TBL_MAHASISWA_PK

Code AMBIL TBL_MAHASISWA_PK

Class Name Reference Index

IV.2.1.7.13.5List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

PowerDesigner

5/11/2013

Page 31

Physical Data Model

Model Penjadwalan

IV.2.1.7.14
Name

List of indexes of the table mahasiswa


Code TBL_MAHASIS WA_PK Unique X Cluster Primary X Foreign Key Alternate Key

TBL_MAHASIS WA_PK

IV.2.1.7.15
Name Code Unique Cluster Primary Foreign Key Alternate Key Table

Index TBL_MAHASISWA_PK of the table mahasiswa


TBL_MAHASISWA_PK TBL_MAHASISWA_PK Yes No Yes No No mahasiswa

IV.2.1.7.15.1Card of the index TBL_MAHASISWA_PK of the table mahasiswa

IV.2.1.7.15.2Code preview of the index TBL_MAHASISWA_PK of the table mahasiswa


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.7.15.3List of index columns of the table index TBL_MAHASISWA_PK

Name NIM NIM

Code

Sort Ascending

IV.2.1.7.15.4List of extended attributes of the table index TBL_MAHASISWA_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.8
IV.2.1.8.1
Name Code DBMS

Table mata_kuliah
Card of table mata_kuliah
mata_kuliah TBL_MATA_KULIAH MySQL 5.0

IV.2.1.8.2

Check constraint name of the table mata_kuliah

TK_TBL_MATA_KULIAH

PowerDesigner

5/11/2013

Page 32

Physical Data Model

Model Penjadwalan

IV.2.1.8.3
%RULES%

Server validation rule of the table mata_kuliah Code preview of the table mata_kuliah

IV.2.1.8.4

drop table if exists TBL_MATA_KULIAH; /*==============================================================*/ /* Table: TBL_MATA_KULIAH */ /*==============================================================*/ create table TBL_MATA_KULIAH ( KODE_MK varchar(50) not null, KODE_PRODI varchar(50) not null, NAMA_MK varchar(100), SKS int, SEMESTER int, primary key (KODE_MK) ); alter table TBL_MATA_KULIAH add constraint FK_MEMILIKI foreign key (KODE_PRODI) references TBL_PRODI (KODE_PRODI) on delete cascade on update restrict;

IV.2.1.8.5
TabelDatabase

List of diagrams containing the table mata_kuliah


Name TABELDATABASE Code

IV.2.1.8.6
ambil mengajar

List of incoming references of the table mata_kuliah


Name AMBIL2 MENGAJAR2 Code

IV.2.1.8.7
memiliki

List of outgoing references of the table mata_kuliah


Name MEMILIKI Code Foreign Key Columns KODE_PRODI

IV.2.1.8.8
ambil memiliki mengajar

List of all dependencies of the table mata_kuliah


Name AMBIL2 MEMILIKI MENGAJAR2 Code Class Name Reference Reference Reference

PowerDesigner

5/11/2013

Page 33

Physical Data Model

Model Penjadwalan

IV.2.1.8.9
Temporary

List of extended attributes of the table mata_kuliah


Name Data Type (Boolean) Value false Target Name MySQL 5.0

IV.2.1.8.10

List of columns of the table mata_kuliah


Name Code KODE_MK KODE_PRODI NAMA_MK SKS SEMESTER

KODE_MK KODE_PRODI NAMA_MK SKS SEMESTER

IV.2.1.8.11
Name Code Data Type Mandatory

Column KODE_MK of the table mata_kuliah


KODE_MK KODE_MK varchar(50) Yes

IV.2.1.8.11.1Card of the column KODE_MK of the table mata_kuliah

IV.2.1.8.11.2Check constraint name of the column KODE_MK of the table mata_kuliah


CK_KODE_MK

IV.2.1.8.11.3Check of the column KODE_MK of the table mata_kuliah

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.8.11.4Server validation rule of the column KODE_MK of the table mata_kuliah


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.11.5List of all dependencies of the table column KODE_MK

Name Identifier_1 KODE_MK ? ? IDENTIFIER_1 KODE_MK ? ?

Code

Class Name Key Index Column Reference Join Reference Join

PowerDesigner

5/11/2013

Page 34

Physical Data Model

Model Penjadwalan

IV.2.1.8.11.6List of extended attributes of the table column KODE_MK

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.8.12
Name Code Data Type Mandatory

Column KODE_PRODI of the table mata_kuliah


KODE_PRODI KODE_PRODI varchar(50) Yes

IV.2.1.8.12.1Card of the column KODE_PRODI of the table mata_kuliah

IV.2.1.8.12.2Check constraint name of the column KODE_PRODI of the table mata_kuliah


CK_KODE_PRODI

IV.2.1.8.12.3Check of the column KODE_PRODI of the table mata_kuliah

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.8.12.4Server validation rule of the column KODE_PRODI of the table mata_kuliah


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.12.5List of all dependencies of the table column KODE_PRODI

Name KODE_PRODI ? KODE_PRODI ?

Code

Class Name Index Column Reference Join

IV.2.1.8.12.6List of extended attributes of the table column KODE_PRODI

Name CharSet Collate


PowerDesigner

Data Type CharSets (String)

Value

Target Name MySQL 5.0 MySQL 5.0


Page 35

5/11/2013

Physical Data Model

Model Penjadwalan

National Unsigned ZeroFill

(Boolean) (Boolean) (Boolean)

false false false

MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.8.13
Name Code Data Type Mandatory

Column NAMA_MK of the table mata_kuliah


NAMA_MK NAMA_MK varchar(100) No

IV.2.1.8.13.1Card of the column NAMA_MK of the table mata_kuliah

IV.2.1.8.13.2Check constraint name of the column NAMA_MK of the table mata_kuliah


CK_NAMA_MK

IV.2.1.8.13.3Check of the column NAMA_MK of the table mata_kuliah

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.8.13.4Server validation rule of the column NAMA_MK of the table mata_kuliah


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.13.5List of extended attributes of the table column NAMA_MK

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.8.14
Name Code Data Type Mandatory
PowerDesigner

Column SKS of the table mata_kuliah


SKS SKS int No
5/11/2013 Page 36

IV.2.1.8.14.1Card of the column SKS of the table mata_kuliah

Physical Data Model

Model Penjadwalan

IV.2.1.8.14.2Check constraint name of the column SKS of the table mata_kuliah


CK_SKS

IV.2.1.8.14.3Check of the column SKS of the table mata_kuliah

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.8.14.4Server validation rule of the column SKS of the table mata_kuliah


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.14.5List of extended attributes of the table column SKS

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.8.15
Name Code Data Type Mandatory

Column SEMESTER of the table mata_kuliah


SEMESTER SEMESTER int No

IV.2.1.8.15.1Card of the column SEMESTER of the table mata_kuliah

IV.2.1.8.15.2Check constraint name of the column SEMESTER of the table mata_kuliah


CK_SEMESTER

IV.2.1.8.15.3Check of the column SEMESTER of the table mata_kuliah

Minimum Value Maximum Value Default Value Unit Format Cannot Modify
PowerDesigner

No
5/11/2013 Page 37

Physical Data Model

Model Penjadwalan

List Of Values
IV.2.1.8.15.4Server validation rule of the column SEMESTER of the table mata_kuliah
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.8.15.5List of extended attributes of the table column SEMESTER

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.8.16
Identifier_1

List of keys of the table mata_kuliah


Name IDENTIFIER_1 Code X Primary

IV.2.1.8.17
Name Code Table

Key Identifier_1 of the table mata_kuliah


Identifier_1 IDENTIFIER_1 mata_kuliah

IV.2.1.8.17.1Card of the key Identifier_1 of the table mata_kuliah

IV.2.1.8.17.2Code preview of the key Identifier_1 of the table mata_kuliah


alter table TBL_MATA_KULIAH drop primary key;

IV.2.1.8.17.3List of columns of the table key Identifier_1

Name KODE_MK KODE_MK

Code

IV.2.1.8.17.4List of all dependencies of the table key Identifier_1

Name ambil mengajar TBL_MATA_KULIAH_PK

Code AMBIL2 MENGAJAR2 TBL_MATA_KULIAH_PK

Class Name Reference Reference Index

PowerDesigner

5/11/2013

Page 38

Physical Data Model

Model Penjadwalan

IV.2.1.8.17.5List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.8.18
Name

List of indexes of the table mata_kuliah


Code TBL_MATA_KU LIAH_PK MEMILIKI_FK Unique X Cluster Primary X X Foreign Key Alternate Key

TBL_MATA_KU LIAH_PK MEMILIKI_FK

IV.2.1.8.19
Name Code Unique Cluster Primary Foreign Key Alternate Key Table

Index TBL_MATA_KULIAH_PK of the table mata_kuliah


TBL_MATA_KULIAH_PK TBL_MATA_KULIAH_PK Yes No Yes No No mata_kuliah

IV.2.1.8.19.1Card of the index TBL_MATA_KULIAH_PK of the table mata_kuliah

IV.2.1.8.19.2Code preview of the index TBL_MATA_KULIAH_PK of the table mata_kuliah


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.8.19.3List of index columns of the table index TBL_MATA_KULIAH_PK

Name KODE_MK KODE_MK

Code

Sort Ascending

IV.2.1.8.19.4List of extended attributes of the table index TBL_MATA_KULIAH_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.8.20
Name Code

Index MEMILIKI_FK of the table mata_kuliah


MEMILIKI_FK MEMILIKI_FK

IV.2.1.8.20.1Card of the index MEMILIKI_FK of the table mata_kuliah

PowerDesigner

5/11/2013

Page 39

Physical Data Model

Model Penjadwalan

Unique Cluster Primary Foreign Key Alternate Key Table

No No No Yes No mata_kuliah

IV.2.1.8.20.2Code preview of the index MEMILIKI_FK of the table mata_kuliah


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.8.20.3List of index columns of the table index MEMILIKI_FK

Name KODE_PRODI

Code KODE_PRODI

Sort Ascending

IV.2.1.8.20.4List of extended attributes of the table index MEMILIKI_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.9
IV.2.1.9.1
Name Code DBMS

Table mengajar
Card of table mengajar
mengajar TBL_MENGAJAR MySQL 5.0

IV.2.1.9.2 IV.2.1.9.3
%RULES%

Check constraint name of the table mengajar Server validation rule of the table mengajar Code preview of the table mengajar

TK_TBL_MENGAJAR

IV.2.1.9.4

drop table if exists TBL_MENGAJAR; /*==============================================================*/ /* Table: TBL_MENGAJAR */ /*==============================================================*/ create table TBL_MENGAJAR ( NIP varchar(50) not null, KODE_MK varchar(50) not null, primary key (NIP, KODE_MK)

PowerDesigner

5/11/2013

Page 40

Physical Data Model

Model Penjadwalan

); alter table TBL_MENGAJAR add constraint FK_MENGAJAR foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict; alter table TBL_MENGAJAR add constraint FK_MENGAJAR2 foreign key (KODE_MK) references TBL_MATA_KULIAH (KODE_MK) on delete cascade on update restrict;

IV.2.1.9.5
TabelDatabase

List of diagrams containing the table mengajar


Name TABELDATABASE Code

IV.2.1.9.6
mengajar mengajar

List of outgoing references of the table mengajar


Name Code MENGAJAR2 MENGAJAR Foreign Key Columns KODE_MK NIP

IV.2.1.9.7
mengajar mengajar

List of all dependencies of the table mengajar


Name MENGAJAR2 MENGAJAR Code Class Name Reference Reference

IV.2.1.9.8
Temporary

List of extended attributes of the table mengajar


Name Data Type (Boolean) Value false Target Name MySQL 5.0

IV.2.1.9.9
NIP KODE_MK

List of columns of the table mengajar


Name NIP KODE_MK Code

IV.2.1.9.10
Name Code Data Type Mandatory

Column NIP of the table mengajar


NIP NIP varchar(50) Yes

IV.2.1.9.10.1Card of the column NIP of the table mengajar

PowerDesigner

5/11/2013

Page 41

Physical Data Model

Model Penjadwalan

IV.2.1.9.10.2Check constraint name of the column NIP of the table mengajar


CK_NIP

IV.2.1.9.10.3Check of the column NIP of the table mengajar

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.9.10.4Server validation rule of the column NIP of the table mengajar


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.10.5List of all dependencies of the table column NIP

Name Identifier_1 NIP ? IDENTIFIER_1 NIP ?

Code

Class Name Key Index Column Reference Join

IV.2.1.9.10.6List of extended attributes of the table column NIP

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.9.11
Name Code Data Type Mandatory

Column KODE_MK of the table mengajar


KODE_MK KODE_MK varchar(50) Yes

IV.2.1.9.11.1Card of the column KODE_MK of the table mengajar

IV.2.1.9.11.2Check constraint name of the column KODE_MK of the table mengajar


CK_KODE_MK

IV.2.1.9.11.3Check of the column KODE_MK of the table mengajar

Minimum Value
PowerDesigner 5/11/2013 Page 42

Physical Data Model

Model Penjadwalan

Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.9.11.4Server validation rule of the column KODE_MK of the table mengajar


%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.9.11.5List of all dependencies of the table column KODE_MK

Name Identifier_1 KODE_MK ? IDENTIFIER_1 KODE_MK ?

Code

Class Name Key Index Column Reference Join

IV.2.1.9.11.6List of extended attributes of the table column KODE_MK

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.9.12
Identifier_1

List of keys of the table mengajar


Name IDENTIFIER_1 Code X Primary

IV.2.1.9.13
Name Code Table

Key Identifier_1 of the table mengajar


Identifier_1 IDENTIFIER_1 mengajar

IV.2.1.9.13.1Card of the key Identifier_1 of the table mengajar

IV.2.1.9.13.2Code preview of the key Identifier_1 of the table mengajar


alter table TBL_MENGAJAR drop primary key;

PowerDesigner

5/11/2013

Page 43

Physical Data Model

Model Penjadwalan

IV.2.1.9.13.3List of columns of the table key Identifier_1

Name NIP KODE_MK NIP KODE_MK

Code

IV.2.1.9.13.4List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.9.14
Name

List of indexes of the table mengajar


Code MENGAJAR_FK MENGAJAR2_F K Unique Cluster Primary Foreign Key X X Alternate Key

MENGAJAR_FK MENGAJAR2_F K

IV.2.1.9.15
Name Code Unique Cluster Primary Foreign Key Alternate Key Table

Index MENGAJAR_FK of the table mengajar


MENGAJAR_FK MENGAJAR_FK No No No Yes No mengajar

IV.2.1.9.15.1Card of the index MENGAJAR_FK of the table mengajar

IV.2.1.9.15.2Code preview of the index MENGAJAR_FK of the table mengajar


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.9.15.3List of index columns of the table index MENGAJAR_FK

Name NIP NIP

Code

Sort Ascending

IV.2.1.9.15.4List of extended attributes of the table index MENGAJAR_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

PowerDesigner

5/11/2013

Page 44

Physical Data Model

Model Penjadwalan

IV.2.1.9.16
Name Code Unique Cluster Primary Foreign Key Alternate Key Table

Index MENGAJAR2_FK of the table mengajar


MENGAJAR2_FK MENGAJAR2_FK No No No Yes No mengajar

IV.2.1.9.16.1Card of the index MENGAJAR2_FK of the table mengajar

IV.2.1.9.16.2Code preview of the index MENGAJAR2_FK of the table mengajar


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.9.16.3List of index columns of the table index MENGAJAR2_FK

Name KODE_MK KODE_MK

Code

Sort Ascending

IV.2.1.9.16.4List of extended attributes of the table index MENGAJAR2_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.10
IV.2.1.10.1
Name Code DBMS

Table prodi
Card of table prodi
prodi TBL_PRODI MySQL 5.0

IV.2.1.10.2 IV.2.1.10.3
%RULES%

Check constraint name of the table prodi Server validation rule of the table prodi Code preview of the table prodi

TK_TBL_PRODI

IV.2.1.10.4

drop table if exists TBL_PRODI; /*==============================================================*/ /* Table: TBL_PRODI */

PowerDesigner

5/11/2013

Page 45

Physical Data Model

Model Penjadwalan

/*==============================================================*/ create table TBL_PRODI ( KODE_PRODI varchar(50) not null, NAMA_PRODI varchar(100), primary key (KODE_PRODI) );

IV.2.1.10.5
TabelDatabase

List of diagrams containing the table prodi


Name TABELDATABASE Code

IV.2.1.10.6
memiliki

List of incoming references of the table prodi


Name MEMILIKI Code

IV.2.1.10.7
memiliki

List of all dependencies of the table prodi


Name MEMILIKI Code Class Name Reference

IV.2.1.10.8
Temporary

List of extended attributes of the table prodi


Data Type (Boolean) Value false Target Name MySQL 5.0

Name

IV.2.1.10.9

List of columns of the table prodi


Name Code KODE_PRODI NAMA_PRODI

KODE_PRODI NAMA_PRODI

IV.2.1.10.10 Column KODE_PRODI of the table prodi


IV.2.1.10.10.1 Card of the column KODE_PRODI of the table prodi

Name Code Data Type Mandatory

KODE_PRODI KODE_PRODI varchar(50) Yes

IV.2.1.10.10.2 Check constraint name of the column KODE_PRODI of the table prodi
CK_KODE_PRODI

PowerDesigner

5/11/2013

Page 46

Physical Data Model

Model Penjadwalan

IV.2.1.10.10.3 Check of the column KODE_PRODI of the table prodi

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.10.10.4 Server validation rule of the column KODE_PRODI of the table prodi
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.10.5 List of all dependencies of the table column KODE_PRODI

Name Identifier_1 KODE_PRODI ? IDENTIFIER_1 KODE_PRODI ?

Code

Class Name Key Index Column Reference Join

IV.2.1.10.10.6 List of extended attributes of the table column KODE_PRODI

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.10.11 Column NAMA_PRODI of the table prodi


IV.2.1.10.11.1 Card of the column NAMA_PRODI of the table prodi

Name Code Data Type Mandatory

NAMA_PRODI NAMA_PRODI varchar(100) No

IV.2.1.10.11.2 Check constraint name of the column NAMA_PRODI of the table prodi
CK_NAMA_PRODI

IV.2.1.10.11.3 Check of the column NAMA_PRODI of the table prodi

Minimum Value Maximum Value Default Value

PowerDesigner

5/11/2013

Page 47

Physical Data Model

Model Penjadwalan

Unit Format Cannot Modify List Of Values

No

IV.2.1.10.11.4 Server validation rule of the column NAMA_PRODI of the table prodi
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.10.11.5 List of extended attributes of the table column NAMA_PRODI

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.10.12 List of keys of the table prodi


Name Identifier_1 IDENTIFIER_1 Code X Primary

IV.2.1.10.13 Key Identifier_1 of the table prodi


IV.2.1.10.13.1 Card of the key Identifier_1 of the table prodi

Name Code Table

Identifier_1 IDENTIFIER_1 prodi

IV.2.1.10.13.2 Code preview of the key Identifier_1 of the table prodi


alter table TBL_PRODI drop primary key;

IV.2.1.10.13.3 List of columns of the table key Identifier_1

Name KODE_PRODI KODE_PRODI

Code

IV.2.1.10.13.4 List of all dependencies of the table key Identifier_1

Name memiliki TBL_PRODI_PK

Code MEMILIKI TBL_PRODI_PK

Class Name Reference Index

PowerDesigner

5/11/2013

Page 48

Physical Data Model

Model Penjadwalan

IV.2.1.10.13.5 List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.10.14 List of indexes of the table prodi


Name TBL_PRODI_PK Code TBL_PRODI_PK Unique X Cluster Primary X Foreign Key Alternate Key

IV.2.1.10.15 Index TBL_PRODI_PK of the table prodi


IV.2.1.10.15.1 Card of the index TBL_PRODI_PK of the table prodi

Name Code Unique Cluster Primary Foreign Key Alternate Key Table

TBL_PRODI_PK TBL_PRODI_PK Yes No Yes No No prodi

IV.2.1.10.15.2 Code preview of the index TBL_PRODI_PK of the table prodi


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.10.15.3 List of index columns of the table index TBL_PRODI_PK

Name KODE_PRODI

Code KODE_PRODI

Sort Ascending

IV.2.1.10.15.4 List of extended attributes of the table index TBL_PRODI_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.11
IV.2.1.11.1
Name Code DBMS

Table punya_waktu
Card of table punya_waktu
punya_waktu TBL_PUNYA_WAKTU MySQL 5.0

PowerDesigner

5/11/2013

Page 49

Physical Data Model

Model Penjadwalan

IV.2.1.11.2 IV.2.1.11.3
%RULES%

Check constraint name of the table punya_waktu Server validation rule of the table punya_waktu Code preview of the table punya_waktu

TK_TBL_PUNYA_WAKTU

IV.2.1.11.4

drop table if exists TBL_PUNYA_WAKTU; /*==============================================================*/ /* Table: TBL_PUNYA_WAKTU */ /*==============================================================*/ create table TBL_PUNYA_WAKTU ( NIP varchar(50) not null, ID_WAKTU varchar(50) not null, TAHUN_AJARAN varchar(10), primary key (NIP, ID_WAKTU) ); alter table TBL_PUNYA_WAKTU add constraint FK_PUNYA_WAKTU foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict; alter table TBL_PUNYA_WAKTU add constraint FK_PUNYA_WAKTU2 foreign key (ID_WAKTU) references TBL_WAKTU (ID_WAKTU) on delete cascade on update restrict;

IV.2.1.11.5
TabelDatabase

List of diagrams containing the table punya_waktu


Name TABELDATABASE Code

IV.2.1.11.6

List of outgoing references of the table punya_waktu


Code PUNYA_WAKTU2 PUNYA_WAKTU Foreign Key Columns ID_WAKTU NIP

Name punya_waktu punya_waktu

IV.2.1.11.7
punya_waktu punya_waktu

List of all dependencies of the table punya_waktu


Name Code PUNYA_WAKTU2 PUNYA_WAKTU Class Name Reference Reference

IV.2.1.11.8
Temporary

List of extended attributes of the table punya_waktu


Data Type (Boolean) Value false Target Name MySQL 5.0

Name

PowerDesigner

5/11/2013

Page 50

Physical Data Model

Model Penjadwalan

IV.2.1.11.9

List of columns of the table punya_waktu


Name Code NIP ID_WAKTU TAHUN_AJARAN

NIP ID_WAKTU TAHUN_AJARAN

IV.2.1.11.10 Column NIP of the table punya_waktu


IV.2.1.11.10.1 Card of the column NIP of the table punya_waktu

Name Code Data Type Mandatory

NIP NIP varchar(50) Yes

IV.2.1.11.10.2 Check constraint name of the column NIP of the table punya_waktu
CK_NIP

IV.2.1.11.10.3 Check of the column NIP of the table punya_waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.11.10.4 Server validation rule of the column NIP of the table punya_waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.11.10.5 List of all dependencies of the table column NIP

Name Identifier_1 NIP ? IDENTIFIER_1 NIP ?

Code

Class Name Key Index Column Reference Join

IV.2.1.11.10.6 List of extended attributes of the table column NIP

Name CharSet Collate

Data Type CharSets (String)

Value

Target Name MySQL 5.0 MySQL 5.0

PowerDesigner

5/11/2013

Page 51

Physical Data Model

Model Penjadwalan

National Unsigned ZeroFill

(Boolean) (Boolean) (Boolean)

false false false

MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.11.11 Column ID_WAKTU of the table punya_waktu


IV.2.1.11.11.1 Card of the column ID_WAKTU of the table punya_waktu

Name Code Data Type Mandatory

ID_WAKTU ID_WAKTU varchar(50) Yes

IV.2.1.11.11.2 Check constraint name of the column ID_WAKTU of the table punya_waktu
CK_ID_WAKTU

IV.2.1.11.11.3 Check of the column ID_WAKTU of the table punya_waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.11.11.4 Server validation rule of the column ID_WAKTU of the table punya_waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.11.11.5 List of all dependencies of the table column ID_WAKTU

Name ID_WAKTU ? Identifier_1 ID_WAKTU ? IDENTIFIER_1

Code

Class Name Index Column Reference Join Key

IV.2.1.11.11.6 List of extended attributes of the table column ID_WAKTU

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

PowerDesigner

5/11/2013

Page 52

Physical Data Model

Model Penjadwalan

IV.2.1.11.12 Column TAHUN_AJARAN of the table punya_waktu


IV.2.1.11.12.1 Card of the column TAHUN_AJARAN of the table punya_waktu

Name Code Data Type Mandatory

TAHUN_AJARAN TAHUN_AJARAN varchar(10) No

IV.2.1.11.12.2 Check constraint name of the column TAHUN_AJARAN of the table punya_waktu
CK_TAHUN_AJARAN

IV.2.1.11.12.3 Check of the column TAHUN_AJARAN of the table punya_waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.11.12.4 Server validation rule of the column TAHUN_AJARAN of the table punya_waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.11.12.5 List of extended attributes of the table column TAHUN_AJARAN

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.11.13 List of keys of the table punya_waktu


Name Identifier_1 IDENTIFIER_1 Code X Primary

IV.2.1.11.14 Key Identifier_1 of the table punya_waktu


IV.2.1.11.14.1 Card of the key Identifier_1 of the table punya_waktu

Name Code Table

Identifier_1 IDENTIFIER_1 punya_waktu

PowerDesigner

5/11/2013

Page 53

Physical Data Model

Model Penjadwalan

IV.2.1.11.14.2 Code preview of the key Identifier_1 of the table punya_waktu


alter table TBL_PUNYA_WAKTU drop primary key;

IV.2.1.11.14.3 List of columns of the table key Identifier_1

Name NIP ID_WAKTU NIP ID_WAKTU

Code

IV.2.1.11.14.4 List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.11.15 List of indexes of the table punya_waktu


Name PUNYA_WAKT U_FK PUNYA_WAKT U2_FK Code PUNYA_WAKT U_FK PUNYA_WAKT U2_FK Unique Cluster Primary Foreign Key X X Alternate Key

IV.2.1.11.16 Index PUNYA_WAKTU_FK of the table punya_waktu


IV.2.1.11.16.1 Card of the index PUNYA_WAKTU_FK of the table punya_waktu

Name Code Unique Cluster Primary Foreign Key Alternate Key Table

PUNYA_WAKTU_FK PUNYA_WAKTU_FK No No No Yes No punya_waktu

IV.2.1.11.16.2 Code preview of the index PUNYA_WAKTU_FK of the table punya_waktu


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.11.16.3 List of index columns of the table index PUNYA_WAKTU_FK

Name

Code

Sort

PowerDesigner

5/11/2013

Page 54

Physical Data Model

Model Penjadwalan

NIP

NIP

Ascending

IV.2.1.11.16.4 List of extended attributes of the table index PUNYA_WAKTU_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.11.17 Index PUNYA_WAKTU2_FK of the table punya_waktu


IV.2.1.11.17.1 Card of the index PUNYA_WAKTU2_FK of the table punya_waktu

Name Code Unique Cluster Primary Foreign Key Alternate Key Table

PUNYA_WAKTU2_FK PUNYA_WAKTU2_FK No No No Yes No punya_waktu

IV.2.1.11.17.2 Code preview of the index PUNYA_WAKTU2_FK of the table punya_waktu


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.11.17.3 List of index columns of the table index PUNYA_WAKTU2_FK

Name ID_WAKTU ID_WAKTU

Code

Sort Ascending

IV.2.1.11.17.4 List of extended attributes of the table index PUNYA_WAKTU2_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.12
IV.2.1.12.1
Name Code DBMS

Table ruang
Card of table ruang
ruang TBL_RUANG MySQL 5.0

IV.2.1.12.2

Check constraint name of the table ruang

TK_TBL_RUANG

PowerDesigner

5/11/2013

Page 55

Physical Data Model

Model Penjadwalan

IV.2.1.12.3
%RULES%

Server validation rule of the table ruang Code preview of the table ruang

IV.2.1.12.4

drop table if exists TBL_RUANG; /*==============================================================*/ /* Table: TBL_RUANG */ /*==============================================================*/ create table TBL_RUANG ( KODE_RUANG varchar(50) not null, NIP varchar(50), NAMA_RUANG varchar(100), KAPASITAS int, primary key (KODE_RUANG) ); alter table TBL_RUANG add constraint FK_PUNYA_RUANG foreign key (NIP) references TBL_DOSEN (NIP) on delete cascade on update restrict;

IV.2.1.12.5
TabelDatabase

List of diagrams containing the table ruang


Name TABELDATABASE Code

IV.2.1.12.6

List of outgoing references of the table ruang


Code PUNYA_RUANG Foreign Key Columns NIP

Name punya_ruang

IV.2.1.12.7
punya_ruang

List of all dependencies of the table ruang


Name Code PUNYA_RUANG Class Name Reference

IV.2.1.12.8
Temporary

List of extended attributes of the table ruang


Data Type (Boolean) Value false Target Name MySQL 5.0

Name

IV.2.1.12.9

List of columns of the table ruang


Name Code KODE_RUANG NIP NAMA_RUANG

KODE_RUANG NIP NAMA_RUANG

PowerDesigner

5/11/2013

Page 56

Physical Data Model

Model Penjadwalan

KAPASITAS

KAPASITAS

IV.2.1.12.10 Column KODE_RUANG of the table ruang


IV.2.1.12.10.1 Card of the column KODE_RUANG of the table ruang

Name Code Data Type Mandatory

KODE_RUANG KODE_RUANG varchar(50) Yes

IV.2.1.12.10.2 Check constraint name of the column KODE_RUANG of the table ruang
CK_KODE_RUANG

IV.2.1.12.10.3 Check of the column KODE_RUANG of the table ruang

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.12.10.4 Server validation rule of the column KODE_RUANG of the table ruang
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.10.5 List of all dependencies of the table column KODE_RUANG

Name Identifier_1 KODE_RUANG

Code IDENTIFIER_1 KODE_RUANG

Class Name Key Index Column

IV.2.1.12.10.6 List of extended attributes of the table column KODE_RUANG

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

PowerDesigner

5/11/2013

Page 57

Physical Data Model

Model Penjadwalan

IV.2.1.12.11 Column NIP of the table ruang


IV.2.1.12.11.1 Card of the column NIP of the table ruang

Name Code Data Type Mandatory

NIP NIP varchar(50) No

IV.2.1.12.11.2 Check constraint name of the column NIP of the table ruang
CK_NIP

IV.2.1.12.11.3 Check of the column NIP of the table ruang

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.12.11.4 Server validation rule of the column NIP of the table ruang
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.11.5 List of all dependencies of the table column NIP

Name NIP ? NIP ?

Code

Class Name Index Column Reference Join

IV.2.1.12.11.6 List of extended attributes of the table column NIP

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.12.12 Column NAMA_RUANG of the table ruang


IV.2.1.12.12.1 Card of the column NAMA_RUANG of the table ruang

Name Code Data Type


PowerDesigner

NAMA_RUANG NAMA_RUANG varchar(100)


5/11/2013 Page 58

Physical Data Model

Model Penjadwalan

Mandatory

No

IV.2.1.12.12.2 Check constraint name of the column NAMA_RUANG of the table ruang
CK_NAMA_RUANG

IV.2.1.12.12.3 Check of the column NAMA_RUANG of the table ruang

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.12.12.4 Server validation rule of the column NAMA_RUANG of the table ruang
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.12.5 List of extended attributes of the table column NAMA_RUANG

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.12.13 Column KAPASITAS of the table ruang


IV.2.1.12.13.1 Card of the column KAPASITAS of the table ruang

Name Code Data Type Mandatory

KAPASITAS KAPASITAS int No

IV.2.1.12.13.2 Check constraint name of the column KAPASITAS of the table ruang
CK_KAPASITAS

IV.2.1.12.13.3 Check of the column KAPASITAS of the table ruang

Minimum Value Maximum Value Default Value Unit Format


PowerDesigner 5/11/2013 Page 59

Physical Data Model

Model Penjadwalan

Cannot Modify List Of Values

No

IV.2.1.12.13.4 Server validation rule of the column KAPASITAS of the table ruang
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.12.13.5 List of extended attributes of the table column KAPASITAS

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.12.14 List of keys of the table ruang


Name Identifier_1 IDENTIFIER_1 Code X Primary

IV.2.1.12.15 Key Identifier_1 of the table ruang


IV.2.1.12.15.1 Card of the key Identifier_1 of the table ruang

Name Code Table

Identifier_1 IDENTIFIER_1 ruang

IV.2.1.12.15.2 Code preview of the key Identifier_1 of the table ruang


alter table TBL_RUANG drop primary key;

IV.2.1.12.15.3 List of columns of the table key Identifier_1

Name KODE_RUANG

Code KODE_RUANG

IV.2.1.12.15.4 List of all dependencies of the table key Identifier_1

Name TBL_RUANG_PK

Code TBL_RUANG_PK

Class Name Index

IV.2.1.12.15.5 List of extended attributes of the table key Identifier_1

Name

Data Type

Value

Target Name

PowerDesigner

5/11/2013

Page 60

Physical Data Model

Model Penjadwalan

ExtUnique

(Boolean)

false

MySQL 5.0

IV.2.1.12.16 List of indexes of the table ruang


Name TBL_RUANG_P K PUNYA_RUANG _FK Code Unique Cluster Primary X X Foreign Key Alternate Key TBL_RUANG_P X K PUNYA_RUANG _FK

IV.2.1.12.17 Index TBL_RUANG_PK of the table ruang


IV.2.1.12.17.1 Card of the index TBL_RUANG_PK of the table ruang

Name Code Unique Cluster Primary Foreign Key Alternate Key Table

TBL_RUANG_PK TBL_RUANG_PK Yes No Yes No No ruang

IV.2.1.12.17.2 Code preview of the index TBL_RUANG_PK of the table ruang


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.12.17.3 List of index columns of the table index TBL_RUANG_PK

Name KODE_RUANG

Code KODE_RUANG

Sort Ascending

IV.2.1.12.17.4 List of extended attributes of the table index TBL_RUANG_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.12.18 Index PUNYA_RUANG_FK of the table ruang


IV.2.1.12.18.1 Card of the index PUNYA_RUANG_FK of the table ruang

Name Code Unique Cluster


PowerDesigner

PUNYA_RUANG_FK PUNYA_RUANG_FK No No
5/11/2013 Page 61

Physical Data Model

Model Penjadwalan

Primary Foreign Key Alternate Key Table

No Yes No ruang

IV.2.1.12.18.2 Code preview of the index PUNYA_RUANG_FK of the table ruang


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.12.18.3 List of index columns of the table index PUNYA_RUANG_FK

Name NIP NIP

Code

Sort Ascending

IV.2.1.12.18.4 List of extended attributes of the table index PUNYA_RUANG_FK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.13
IV.2.1.13.1
Name Code DBMS

Table waktu
Card of table waktu
waktu TBL_WAKTU MySQL 5.0

IV.2.1.13.2 IV.2.1.13.3
%RULES%

Check constraint name of the table waktu Server validation rule of the table waktu Code preview of the table waktu

TK_TBL_WAKTU

IV.2.1.13.4

drop table if exists TBL_WAKTU; /*==============================================================*/ /* Table: TBL_WAKTU */ /*==============================================================*/ create table TBL_WAKTU ( ID_WAKTU varchar(50) not null, HARI varchar(20), JAM_MASUK varchar(10), JAM_KELUAR varchar(10), primary key (ID_WAKTU) );

PowerDesigner

5/11/2013

Page 62

Physical Data Model

Model Penjadwalan

IV.2.1.13.5
TabelDatabase

List of diagrams containing the table waktu


Name TABELDATABASE Code

IV.2.1.13.6
punya_waktu

List of incoming references of the table waktu


Name PUNYA_WAKTU2 Code

IV.2.1.13.7
punya_waktu

List of all dependencies of the table waktu


Name Code PUNYA_WAKTU2 Class Name Reference

IV.2.1.13.8
Temporary

List of extended attributes of the table waktu


Data Type (Boolean) Value false Target Name MySQL 5.0

Name

IV.2.1.13.9

List of columns of the table waktu


Name Code ID_WAKTU HARI JAM_MASUK JAM_KELUAR

ID_WAKTU HARI JAM_MASUK JAM_KELUAR

IV.2.1.13.10 Column ID_WAKTU of the table waktu


IV.2.1.13.10.1 Card of the column ID_WAKTU of the table waktu

Name Code Data Type Mandatory

ID_WAKTU ID_WAKTU varchar(50) Yes

IV.2.1.13.10.2 Check constraint name of the column ID_WAKTU of the table waktu
CK_ID_WAKTU

IV.2.1.13.10.3 Check of the column ID_WAKTU of the table waktu

Minimum Value Maximum Value


PowerDesigner 5/11/2013 Page 63

Physical Data Model

Model Penjadwalan

Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.13.10.4 Server validation rule of the column ID_WAKTU of the table waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.10.5 List of all dependencies of the table column ID_WAKTU

Name ID_WAKTU ? Identifier_1 ID_WAKTU ? IDENTIFIER_1

Code

Class Name Index Column Reference Join Key

IV.2.1.13.10.6 List of extended attributes of the table column ID_WAKTU

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.13.11 Column HARI of the table waktu


IV.2.1.13.11.1 Card of the column HARI of the table waktu

Name Code Data Type Mandatory

HARI HARI varchar(20) No

IV.2.1.13.11.2 Check constraint name of the column HARI of the table waktu
CK_HARI

IV.2.1.13.11.3 Check of the column HARI of the table waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify

No

PowerDesigner

5/11/2013

Page 64

Physical Data Model

Model Penjadwalan

List Of Values
IV.2.1.13.11.4 Server validation rule of the column HARI of the table waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.11.5 List of extended attributes of the table column HARI

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.13.12 Column JAM_MASUK of the table waktu


IV.2.1.13.12.1 Card of the column JAM_MASUK of the table waktu

Name Code Data Type Mandatory

JAM_MASUK JAM_MASUK varchar(10) No

IV.2.1.13.12.2 Check constraint name of the column JAM_MASUK of the table waktu
CK_JAM_MASUK

IV.2.1.13.12.3 Check of the column JAM_MASUK of the table waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.13.12.4 Server validation rule of the column JAM_MASUK of the table waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.12.5 List of extended attributes of the table column JAM_MASUK

Name CharSet Collate National Unsigned


PowerDesigner

Data Type CharSets (String) (Boolean) (Boolean)

Value false false


5/11/2013

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0
Page 65

Physical Data Model

Model Penjadwalan

ZeroFill

(Boolean)

false

MySQL 5.0

IV.2.1.13.13 Column JAM_KELUAR of the table waktu


IV.2.1.13.13.1 Card of the column JAM_KELUAR of the table waktu

Name Code Data Type Mandatory

JAM_KELUAR JAM_KELUAR varchar(10) No

IV.2.1.13.13.2 Check constraint name of the column JAM_KELUAR of the table waktu
CK_JAM_KELUAR

IV.2.1.13.13.3 Check of the column JAM_KELUAR of the table waktu

Minimum Value Maximum Value Default Value Unit Format Cannot Modify List Of Values

No

IV.2.1.13.13.4 Server validation rule of the column JAM_KELUAR of the table waktu
%MINMAX% and %LISTVAL% and %CASE% and %RULES%

IV.2.1.13.13.5 List of extended attributes of the table column JAM_KELUAR

Name CharSet Collate National Unsigned ZeroFill

Data Type CharSets (String) (Boolean) (Boolean) (Boolean)

Value false false false

Target Name MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0 MySQL 5.0

IV.2.1.13.14 List of keys of the table waktu


Name Identifier_1 IDENTIFIER_1 Code X Primary

IV.2.1.13.15 Key Identifier_1 of the table waktu


IV.2.1.13.15.1 Card of the key Identifier_1 of the table waktu

Name
PowerDesigner

Identifier_1
5/11/2013 Page 66

Physical Data Model

Model Penjadwalan

Code Table

IDENTIFIER_1 waktu

IV.2.1.13.15.2 Code preview of the key Identifier_1 of the table waktu


alter table TBL_WAKTU drop primary key;

IV.2.1.13.15.3 List of columns of the table key Identifier_1

Name ID_WAKTU ID_WAKTU

Code

IV.2.1.13.15.4 List of all dependencies of the table key Identifier_1

Name punya_waktu TBL_WAKTU_PK

Code PUNYA_WAKTU2 TBL_WAKTU_PK

Class Name Reference Index

IV.2.1.13.15.5 List of extended attributes of the table key Identifier_1

Name ExtUnique

Data Type (Boolean)

Value false

Target Name MySQL 5.0

IV.2.1.13.16 List of indexes of the table waktu


Name TBL_WAKTU_P K Code TBL_WAKTU_P K Unique X Cluster Primary X Foreign Key Alternate Key

IV.2.1.13.17 Index TBL_WAKTU_PK of the table waktu


IV.2.1.13.17.1 Card of the index TBL_WAKTU_PK of the table waktu

Name Code Unique Cluster Primary Foreign Key Alternate Key Table

TBL_WAKTU_PK TBL_WAKTU_PK Yes No Yes No No waktu

PowerDesigner

5/11/2013

Page 67

Physical Data Model

Model Penjadwalan

IV.2.1.13.17.2 Code preview of the index TBL_WAKTU_PK of the table waktu


# The preview is empty because of the setting. # Check the generation option.

IV.2.1.13.17.3 List of index columns of the table index TBL_WAKTU_PK

Name ID_WAKTU ID_WAKTU

Code

Sort Ascending

IV.2.1.13.17.4 List of extended attributes of the table index TBL_WAKTU_PK

Name FullText

Data Type (Boolean)

Value false

Target Name MySQL 5.0

PowerDesigner

5/11/2013

Page 68

Physical Data Model

Model Penjadwalan

PowerDesigner

5/11/2013

Page 69

You might also like