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

77 lines
1.9 KiB
TypeScript
Raw Normal View History

interface FormQuery {
page: number;
pageSize: number;
year: number;
keyword: string;
commandTypeId: string;
}
interface FormCommand {
commandYear: number;
commandNo: string;
commandTypeId?: string;
}
interface FormDataDetail {
2024-10-28 09:54:06 +07:00
issue: string | null; //คำสั่งเรื่อง
commandNo: string; //คำสั่งเลขที่
commandYear: number | null; //พ.ศ.
detailHeader: string; //เนื้อหาคำสั่งขึ้นต้น
detailBody: string; //เนื้อหาคำสั่งหลัก
detailFooter: string; //เนื้อหาคำสั่งลงท้าย
commandAffectDate: Date | null; //วันที่ลงนาม
commandExcecuteDate: Date | null; //วันที่คำสั่งมีผล
isBangkok: string | null; //คำสั่งสำนักปลัดกรุงเทพมหานคร
2024-12-25 18:50:41 +07:00
commandCode?: string; //รหัสคำสั่ง
}
2024-10-30 15:20:47 +07:00
interface FormCommandList {
id: string;
status: string;
commandTypeName: string;
commandNo: string;
commandCode: string;
2024-10-30 15:20:47 +07:00
commandYear: Date | null;
detailHeader: string;
detailBody: string;
detailFooter: string;
issue: string | null;
commandAffectDate: Date | null;
commandExcecuteDate: Date | null;
commandSysId: string;
isAttachment: boolean;
}
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;
2024-09-25 17:49:50 +07:00
}
export type {
FormQuery,
FormCommand,
FormDataDetail,
ListCommandSalaryType,
PersonInfo,
FormCommandList,
};