บันทึกลงทะเบียนประวัติ

This commit is contained in:
Kittapath 2024-04-10 11:53:25 +07:00
parent 166c919bbe
commit b8e1c93cb4
3 changed files with 77 additions and 7 deletions

View file

@ -5,6 +5,14 @@ import { PosType } from "./PosType";
@Entity("developmentScholarship")
export class DevelopmentScholarship extends EntityBase {
@Column({
nullable: true,
comment: "id profile",
length: 40,
default: null,
})
profileId: string;
@Column({
// PENDING = ค่าเริ่มต้น
// GRADUATE = สำเร็จการศึกษา
@ -423,6 +431,7 @@ export class DevelopmentScholarship extends EntityBase {
totalPeriod: string;
}
export class CreateDevelopmentScholarship {
profileId: string | null;
rank?: string | null;
prefix: string | null;
firstName: string | null;
@ -475,6 +484,7 @@ export class CreateDevelopmentScholarship {
}
export class UpdateDevelopmentScholarship {
profileId: string | null;
rank?: string | null;
prefix: string | null;
firstName: string | null;