เพิ่ม subrank

This commit is contained in:
Kittapath 2024-03-13 09:47:19 +07:00
parent 8717494690
commit 5301978a7f
11 changed files with 111 additions and 19 deletions

View file

@ -48,6 +48,13 @@ export class OrgChild2 extends EntityBase {
})
orgChild2Rank: OrgChild2Rank;
@Column({
nullable: true,
comment: "ระดับส่วนราชการsub",
default: null,
})
orgChild2RankSub: string;
@Column({
nullable: true,
comment: "ลำดับที่ของส่วนราชการภายใน Child เดียวกัน",
@ -100,7 +107,8 @@ export class OrgChild2 extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
comment:
"รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
default: null,
})
ancestorDNA: string;
@ -140,6 +148,9 @@ export class CreateOrgChild2 {
@Column()
orgChild2Rank: string;
@Column()
orgChild2RankSub: string;
@Column()
orgChild2PhoneEx?: string;