hrms-mgt/src/modules/18_command/interface/request/Main.ts

56 lines
1.1 KiB
TypeScript
Raw Normal View History

interface FormQuery {
page: number;
pageSize: number;
year: number;
keyword: string;
}
interface FormCommand {
commandYear: number;
commandNo: string;
commandTypeId?: string;
}
interface FormDataDetail {
2024-09-24 10:50:42 +07:00
id?: string;
status?: string;
commandNo: string;
commandYear: number | null;
detailHeader: string;
detailBody: string;
detailFooter: string;
issue: string | null;
2024-09-23 17:00:32 +07:00
commandAffectDate: Date | null;
commandExcecuteDate: Date | null;
2024-09-24 10:50:42 +07:00
commandSysId?: string;
commandTypeName?: string;
}
2024-09-24 10:50:42 +07:00
interface ListCommandSalaryType {
id: string;
2024-09-25 17:49:50 +07:00
createdAt: Date | null;
lastUpdatedAt: Date | null;
2024-09-24 10:50:42 +07:00
createdFullName: string;
lastUpdateFullName: string;
name: string;
commandSysId: string;
}
2024-09-25 17:49:50 +07:00
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};