crud profile discip,duty,nopaid,other

This commit is contained in:
AdisakKanthawilang 2024-03-13 15:33:02 +07:00
parent 1d48bb06ee
commit 13fc7945e5
9 changed files with 706 additions and 5 deletions

View file

@ -73,3 +73,32 @@ export class ProfileDiscipline extends EntityBase {
@JoinColumn({ name: "profileId" })
profile: Profile;
}
export class CreateProfileDiscipline {
@Column()
date: Date | null;
@Column()
profileId: string;
@Column()
isActive: boolean | null;
@Column()
level: string | null;
@Column()
detail: string | null;
@Column()
refCommandDate: Date | null;
@Column()
refCommandNo: string | null;
@Column()
unStigma: string | null;
}
export type UpdateProfileDiscipline = Partial<CreateProfileDiscipline>;