Merge branch 'develop' into adiDev

This commit is contained in:
AdisakKanthawilang 2024-03-13 10:44:23 +07:00
commit a94316e781
15 changed files with 356 additions and 20 deletions

View file

@ -39,6 +39,9 @@ export class CreateEmployeePosLevel {
@Column()
posLevelRank: number;
@Column("uuid")
employeePosTypeId: string;
}
export type UpdateEmployeePosLevel= Partial<CreateEmployeePosLevel>;

View file

@ -49,6 +49,13 @@ export class OrgChild1 extends EntityBase {
})
orgChild1Rank: OrgChild1Rank;
@Column({
nullable: true,
comment: "ระดับส่วนราชการsub",
default: null,
})
orgChild1RankSub: string;
@Column({
nullable: true,
comment: "ลำดับที่ของส่วนราชการภายใน Child เดียวกัน",
@ -95,7 +102,8 @@ export class OrgChild1 extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
comment:
"รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
default: null,
})
ancestorDNA: string;
@ -134,6 +142,9 @@ export class CreateOrgChild1 {
@Column()
orgChild1Rank: string;
@Column()
orgChild1RankSub?: string;
@Column()
orgChild1PhoneEx?: string;

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;

View file

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

View file

@ -48,6 +48,13 @@ export class OrgChild4 extends EntityBase {
})
orgChild4Rank: OrgChild4Rank;
@Column({
nullable: true,
comment: "ระดับส่วนราชการsub",
default: null,
})
orgChild4RankSub: string;
@Column({
nullable: true,
comment: "ลำดับที่ของส่วนราชการภายใน Child เดียวกัน",
@ -112,7 +119,8 @@ export class OrgChild4 extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
comment:
"รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
default: null,
})
ancestorDNA: string;
@ -154,6 +162,9 @@ export class CreateOrgChild4 {
@Column()
orgChild4Rank: string;
@Column()
orgChild4RankSub?: string;
@Column()
orgChild4PhoneEx?: string;

View file

@ -49,6 +49,13 @@ export class OrgRoot extends EntityBase {
})
orgRootRank: OrgRootRank;
@Column({
nullable: true,
comment: "ระดับส่วนราชการsub",
default: null,
})
orgRootRankSub: string;
@Column({
nullable: true,
comment: "ลำดับที่ของหน่วยงาน",
@ -83,7 +90,8 @@ export class OrgRoot extends EntityBase {
@Column({
nullable: true,
length: 40,
comment: "รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
comment:
"รหัส DNA ใช้ในกรณีที่มีการทำสำเนาโครงสร้าง โครงสร้างใหม่ที่ทำสำเนากับโครงสร้างเก่าจะต้องมี DNA เดียวกัน เพื่อให้ track ประวัติการแก้ไขโครงสร้างย้อนหลังได้",
default: null,
})
ancestorDNA: string;
@ -127,6 +135,9 @@ export class CreateOrgRoot {
@Column()
orgRootRank: OrgRootRank;
// @Column()
// orgRootRankSub?: string;
@Column()
orgRootPhoneEx?: string;