บันทึกข้อมูลราชการ
This commit is contained in:
parent
250897ac91
commit
474630a7ba
4 changed files with 159 additions and 220 deletions
|
|
@ -17,216 +17,42 @@ export class ProfileGovernment extends EntityBase {
|
|||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
type: "datetime",
|
||||
comment: "วันที่บรรจุ",
|
||||
default: null,
|
||||
comment: "เลขที่ตำแหน่ง",
|
||||
})
|
||||
posNoId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
default: null,
|
||||
comment: "สังกัด",
|
||||
})
|
||||
ocId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
default: null,
|
||||
comment: "คีย์นอก(FK)ของตาราง Position",
|
||||
})
|
||||
positionId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "วันที่สั่งบรรจุ",
|
||||
})
|
||||
dateAppoint: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
type: "datetime",
|
||||
comment: "วันที่เริ่มปฏิบัติราชการ",
|
||||
default: null,
|
||||
comment: "เริ่มปฎิบัติราชการ",
|
||||
})
|
||||
dateStart: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "วันเกษียณอายุ",
|
||||
})
|
||||
retireDate: Date;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "อายุราชการ",
|
||||
})
|
||||
govAge: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ขาดราชการ",
|
||||
default: null,
|
||||
})
|
||||
govAgeAbsent: string;
|
||||
govAgeAbsent: number;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "อายุราชการเกื้อกูล",
|
||||
})
|
||||
govAgePlus: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "สังกัด",
|
||||
})
|
||||
oc: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "เลขที่ตำแหน่ง",
|
||||
})
|
||||
posNo: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ตำแหน่ง",
|
||||
})
|
||||
position: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ระดับตำแหน่ง",
|
||||
})
|
||||
positionLevel: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "สายงาน",
|
||||
})
|
||||
positionLine: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ประเภทตำแหน่ง",
|
||||
})
|
||||
positionType: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ตำแหน่งทางการบริหาร",
|
||||
})
|
||||
positionExecutive: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "เหตุผลกรณีไม่ตรงวัน",
|
||||
})
|
||||
reasonSameDate: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "กลุ่มงาน",
|
||||
})
|
||||
positionEmployeeGroup: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ระดับชั้นงาน",
|
||||
})
|
||||
positionEmployeeLevel: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ตำแหน่ง",
|
||||
})
|
||||
positionEmployeePosition: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
comment: "ด้านของตำแหน่ง",
|
||||
})
|
||||
positionEmployeePositionSide: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
})
|
||||
positionPathSide: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
default: null,
|
||||
})
|
||||
positionExecutiveSide: string;
|
||||
govAgePlus: number;
|
||||
}
|
||||
|
||||
export type CreateProfileGovernment = {
|
||||
profileId: string;
|
||||
positionId: string | null;
|
||||
posNoId: string | null;
|
||||
ocId: string | null;
|
||||
dateAppoint: Date | null;
|
||||
dateStart: Date | null;
|
||||
retireDate: Date | null;
|
||||
govAge: string | null;
|
||||
govAgeAbsent: string | null;
|
||||
govAgePlus: string | null;
|
||||
oc: string | null;
|
||||
posNo: string | null;
|
||||
postition: string | null;
|
||||
positionLevel: string | null;
|
||||
positionLine: string | null;
|
||||
positionType: string | null;
|
||||
positionExecutive: string | null;
|
||||
reasonSameDate: string | null;
|
||||
positionEmployeeGroup: string | null;
|
||||
positionEmployeeLevel: string | null;
|
||||
positionEmployeePosition: string | null;
|
||||
positionEmployeePositionSide: string | null;
|
||||
positionPathSide: string | null;
|
||||
positionExecutiveSide: string | null;
|
||||
dateAppoint?: Date | null;
|
||||
dateStart?: Date | null;
|
||||
};
|
||||
|
||||
export type UpdateProfileGovernment = {
|
||||
positionId?: string | null;
|
||||
posNoId?: string | null;
|
||||
ocId?: string | null;
|
||||
dateAppoint?: Date | null;
|
||||
dateStart?: Date | null;
|
||||
retireDate?: Date | null;
|
||||
govAge?: string | null;
|
||||
govAgeAbsent?: string | null;
|
||||
govAgePlus?: string | null;
|
||||
oc?: string | null;
|
||||
posNo?: string | null;
|
||||
postition?: string | null;
|
||||
positionLevel?: string | null;
|
||||
positionLine?: string | null;
|
||||
positionType?: string | null;
|
||||
positionExecutive?: string | null;
|
||||
reasonSameDate?: string | null;
|
||||
positionEmployeeGroup?: string | null;
|
||||
positionEmployeeLevel?: string | null;
|
||||
positionEmployeePosition?: string | null;
|
||||
positionEmployeePositionSide?: string | null;
|
||||
positionPathSide?: string | null;
|
||||
positionExecutiveSide?: string | null;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue