เพิ่ม columns result
This commit is contained in:
parent
5f40c82e4a
commit
53f0deb036
1 changed files with 37 additions and 0 deletions
|
|
@ -93,6 +93,37 @@ export class EvaluateResult extends EntityBase {
|
|||
})
|
||||
director2_dated!: Date | null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ชื่อ-นามสกุลผู้มีอำนาจสั่งบรรจุ",
|
||||
})
|
||||
authority_name: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งผู้มีอำนาจสั่งบรรจุ",
|
||||
})
|
||||
authority_pos: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ประเภทผู้มีอำนาจสั่งบรรจุ",
|
||||
})
|
||||
authority_type: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "ระดับผู้มีอำนาจสั่งบรรจุ",
|
||||
})
|
||||
authority_level: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
comment: "วันที่ลงนามผู้มีอำนาจสั่งบรรจุ",
|
||||
type: "date",
|
||||
})
|
||||
authority_dated: Date | null;
|
||||
|
||||
@ManyToOne(() => Assign, (assign: Assign) => assign.evaluateResults)
|
||||
@JoinColumn({ name: "assign_id" })
|
||||
assign: Assign;
|
||||
|
|
@ -109,6 +140,12 @@ export class CreateEvaluateResult {
|
|||
// director1_dated: Date | null;
|
||||
// director2_dated: Date | null;
|
||||
evaluate_no: number;
|
||||
|
||||
authority_name: string;
|
||||
authority_pos: string;
|
||||
authority_type: string;
|
||||
authority_level: string;
|
||||
authority_dated: Date | null;
|
||||
}
|
||||
|
||||
export type UpdateEvaluateResult = Partial<CreateEvaluateResult>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue