fix: ลบ isActive
This commit is contained in:
parent
c13ca10a3e
commit
23f8382928
18 changed files with 36 additions and 165 deletions
|
|
@ -5,13 +5,6 @@ import { ProfileChangeName } from "./ProfileChangeName";
|
|||
|
||||
@Entity("profileChangeNameHistory")
|
||||
export class ProfileChangeNameHistory extends EntityBase {
|
||||
|
||||
@Column({
|
||||
comment: "สถานะการใช้งาน",
|
||||
default: false,
|
||||
})
|
||||
isActive: boolean;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 40,
|
||||
|
|
@ -68,15 +61,16 @@ export class ProfileChangeNameHistory extends EntityBase {
|
|||
})
|
||||
profileChangeNameId: string;
|
||||
|
||||
@ManyToOne(() => ProfileChangeName, (profileChangeName) => profileChangeName.profileChangeNameHistories)
|
||||
@ManyToOne(
|
||||
() => ProfileChangeName,
|
||||
(profileChangeName) => profileChangeName.profileChangeNameHistories,
|
||||
)
|
||||
@JoinColumn({ name: "profileChangeNameId" })
|
||||
histories: ProfileChangeName;
|
||||
|
||||
}
|
||||
|
||||
export class CreateProfileChangeNameHistory {
|
||||
profileChangeNameId: string | null;
|
||||
isActive: boolean;
|
||||
prefixId: string | null;
|
||||
prefix: string | null;
|
||||
firstName: string | null;
|
||||
|
|
@ -87,7 +81,6 @@ export class CreateProfileChangeNameHistory {
|
|||
|
||||
export type UpdateProfileChangeNameHistory = {
|
||||
profileChangeNameId?: string | null;
|
||||
isActive?: boolean;
|
||||
prefixId?: string | null;
|
||||
prefix?: string | null;
|
||||
firstName?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue