Migrate add profileChangeName.rank #1594
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s

This commit is contained in:
harid 2026-06-11 17:52:10 +07:00
parent 1e9b282942
commit 1e69cf6bb7
6 changed files with 43 additions and 0 deletions

View file

@ -31,6 +31,14 @@ export class ProfileChangeName extends EntityBase {
})
prefix: string;
@Column({
nullable: true,
comment: "ยศ",
length: 40,
default: null,
})
rank: string;
@Column({
nullable: true,
length: 100,
@ -103,6 +111,7 @@ export class CreateProfileChangeName {
profileId: string | null;
prefixId: string | null;
prefix: string | null;
rank: string | null;
firstName: string | null;
lastName: string | null;
status: string | null;
@ -113,6 +122,7 @@ export class CreateProfileChangeNameEmployee {
profileEmployeeId: string | null;
prefixId: string | null;
prefix: string | null;
rank: string | null;
firstName: string | null;
lastName: string | null;
status: string | null;
@ -122,6 +132,7 @@ export class CreateProfileChangeNameEmployee {
export type UpdateProfileChangeName = {
prefixId?: string | null;
prefix?: string | null;
rank?: string | null;
firstName?: string | null;
lastName?: string | null;
status?: string | null;