แก้ defult value
This commit is contained in:
parent
9ac7517518
commit
c89126a8a2
16 changed files with 381 additions and 110 deletions
|
|
@ -20,7 +20,7 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
comment: "ชื่อส่วนราชการ",
|
||||
length: 255,
|
||||
default: "string",
|
||||
default: null,
|
||||
})
|
||||
orgChild3Name: string;
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
comment: "ชื่อย่อส่วนราชการ",
|
||||
length: 16,
|
||||
default: "string",
|
||||
default: null,
|
||||
})
|
||||
orgChild3ShortName: string;
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
comment: "รหัสส่วนราชการ",
|
||||
length: 8,
|
||||
default: "string",
|
||||
default: null,
|
||||
})
|
||||
orgChild3Code: string;
|
||||
|
||||
|
|
@ -45,12 +45,14 @@ export class OrgChild3 extends EntityBase {
|
|||
comment: "ระดับส่วนราชการ",
|
||||
type: "enum",
|
||||
enum: OrgChild3Rank,
|
||||
default: null,
|
||||
})
|
||||
orgChild3Rank: OrgChild3Rank;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ลำดับที่ของส่วนราชการภายใน Child เดียวกัน",
|
||||
default: null,
|
||||
})
|
||||
orgChild3Order: number;
|
||||
|
||||
|
|
@ -58,6 +60,7 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
length: 64,
|
||||
comment: "หมายเลขโทรศัพท์ที่ติดต่อจากภายนอก",
|
||||
default: null,
|
||||
})
|
||||
orgChild3PhoneEx: string;
|
||||
|
||||
|
|
@ -65,6 +68,7 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
length: 64,
|
||||
comment: "หมายเลขโทรศัพท์ที่ติดต่อจากภายใน",
|
||||
default: null,
|
||||
})
|
||||
orgChild3PhoneIn: string;
|
||||
|
||||
|
|
@ -72,36 +76,34 @@ export class OrgChild3 extends EntityBase {
|
|||
nullable: true,
|
||||
length: 64,
|
||||
comment: "หมายเลขโทรสาร",
|
||||
default: null,
|
||||
})
|
||||
orgChild3Fax: string;
|
||||
|
||||
@Column({
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
orgRootId: string;
|
||||
|
||||
@Column({
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
orgChild1Id: string;
|
||||
|
||||
@Column({
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
orgChild2Id: string;
|
||||
|
||||
@Column({
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
})
|
||||
orgRevisionId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
default: "00000000-0000-0000-0000-000000000000",
|
||||
default: null,
|
||||
})
|
||||
isAncestorDNA: string;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue