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

36 lines
724 B
TypeScript
Raw Normal View History

interface ResListCommand {
data: {
result: {
data: DataListCommand[];
total: number;
};
};
}
interface DataListCommand {
assignFullName: string;
commandAffectDate: null | Date | string;
commandExcecuteDate: null | Date | string;
commandNo: string;
commandYear: number;
createdFullName: string;
id: string;
status: string;
issue?: string;
}
interface DataCommandType {
category: string;
commandCode: string;
createdAt: string | Date;
createdFullName: string;
createdUserId: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string | Date;
name: string;
}
export type { ResListCommand, DataListCommand, DataCommandType };