diff --git a/src/entities/Salarys.ts b/src/entities/Salarys.ts index 6c76deb..dd65fea 100644 --- a/src/entities/Salarys.ts +++ b/src/entities/Salarys.ts @@ -103,10 +103,40 @@ export class CreateSalary { endDate?: Date; @Column() - details?: string; + details?: string | null; @Column() isSpecial: boolean; } + +export class UpdateSalary { -export type UpdateSalary = Partial ; \ No newline at end of file + @Column() + salaryType: string; + + @Column("uuid") + posTypeId: string; + + @Column("uuid") + posLevelId: string; + + @Column() + isActive: boolean; + + @Column() + date?: Date; + + @Column() + startDate?: Date; + + @Column() + endDate?: Date; + + @Column() + details?: string | null; + + @Column() + isSpecial: boolean; +} + +// export type UpdateSalary = Partial ; \ No newline at end of file