fix: ลบ isActive

This commit is contained in:
Net 2024-03-21 14:11:53 +07:00 committed by Methapon2001
parent c13ca10a3e
commit 23f8382928
18 changed files with 36 additions and 165 deletions

View file

@ -4,12 +4,6 @@ import { Profile } from "./Profile";
@Entity("profileGovernment")
export class ProfileGovernment extends EntityBase {
@Column({
comment: "สถานะการใช้งาน",
default: false,
})
isActive: boolean;
@Column({
nullable: true,
length: 40,
@ -172,7 +166,6 @@ export class ProfileGovernment extends EntityBase {
positionEmployeePositionSide: string;
}
export type CreateProfileGovernment = {
isActive: boolean | null;
positionId: string | null;
profileId: string | null;
profile: Profile | null;
@ -199,7 +192,6 @@ export type CreateProfileGovernment = {
};
export type UpdateProfileGovernment = {
isActive?: boolean | null;
positionId?: string | null;
profile?: Profile | null;
posNoId?: string | null;