sort profile send report

This commit is contained in:
kittapath 2024-09-25 16:17:06 +07:00
parent e2939cae3a
commit 7697d6d46a
7 changed files with 169 additions and 14 deletions

View file

@ -1,4 +1,4 @@
import { Entity, Column, JoinColumn, ManyToOne, OneToMany } from "typeorm";
import { Entity, Column, JoinColumn, ManyToOne, OneToMany, Double } from "typeorm";
import { EntityBase } from "./base/Base";
import { Command } from "./Command";
import { Profile } from "./Profile";
@ -60,6 +60,46 @@ export class CommandRecive extends EntityBase {
})
order: number;
@Column({
nullable: true,
comment: "หมายเหตุแนวตั้ง",
type: "text",
default: null,
})
remarkVertical: string;
@Column({
nullable: true,
comment: "หมายเหตุแนวนอน",
type: "text",
default: null,
})
remarkHorizontal: string;
@Column({
comment: "เงินเดือนฐาน",
default: 0,
nullable: true,
type: "double",
})
amount: Double;
@Column({
comment: "เงินประจำตำแหน่ง",
default: 0,
nullable: true,
type: "double",
})
positionSalaryAmount: Double;
@Column({
comment: "เงินค่าตอบแทนรายเดือน",
default: 0,
nullable: true,
type: "double",
})
mouthSalaryAmount: Double;
@Column({
length: 40,
comment: "คีย์นอก(FK)ของตาราง command",