เพิ่มชื่อผัง

This commit is contained in:
Kittapath 2024-03-07 14:25:14 +07:00
parent 81f31d454e
commit aff5aa452e
4 changed files with 33 additions and 34 deletions

View file

@ -16,6 +16,12 @@ export class SalaryPeriod extends EntityBase {
})
isActive: boolean;
@Column({
comment: "ปิดรอบ",
default: false,
})
isClose: boolean;
@Column({
nullable: true,
type: "datetime",

View file

@ -7,10 +7,10 @@ import { PosLevel } from "./PosLevel";
@Entity("salarys")
export class Salarys extends EntityBase {
@Column({
comment: "ประเภทผัง",
comment: "ชื่อผัง",
length: 255,
})
salaryType: string;
name: string;
@Column({
length: 40,
@ -81,7 +81,7 @@ export class Salarys extends EntityBase {
export class CreateSalary {
@Column()
salaryType: string;
name: string;
@Column("uuid")
posTypeId: string;
@ -110,7 +110,7 @@ export class CreateSalary {
export class UpdateSalary {
@Column()
salaryType: string;
name: string;
@Column("uuid")
posTypeId: string;