hrms-mgt/src/modules/18_command/interface/request/Main.ts
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 ff80a4b073 ออกคำสั่ง Check สกจ.
2024-10-09 13:56:53 +07:00

62 lines
1.2 KiB
TypeScript

interface FormQuery {
page: number;
pageSize: number;
year: number;
keyword: string;
}
interface FormCommand {
commandYear: number;
commandNo: string;
commandTypeId?: string;
}
interface FormDataDetail {
id?: string;
status?: string;
commandNo: string;
commandYear: number | null;
detailHeader: string;
detailBody: string;
detailFooter: string;
issue: string | null;
commandAffectDate: Date | null;
commandExcecuteDate: Date | null;
commandSysId?: string;
commandTypeName?: string;
isBangkok?: string | null;
isAttachment: boolean;
}
interface ListCommandSalaryType {
id: string;
createdAt: Date | null;
lastUpdatedAt: Date | null;
createdFullName: string;
lastUpdateFullName: string;
name: string;
commandSysId: string;
}
interface PersonInfo {
id: string;
citizenId: string;
prefix: string;
firstName: string;
lastName: string;
profileId: string;
order: number;
remarkVertical: string | null;
remarkHorizontal: string | null;
amount: number;
positionSalaryAmount: number;
mouthSalaryAmount: number;
}
export type {
FormQuery,
FormCommand,
FormDataDetail,
ListCommandSalaryType,
PersonInfo,
};