hrms-mgt/src/modules/04_registryPerson/interface/response/Insignia.ts
2025-01-29 09:56:04 +07:00

56 lines
1.2 KiB
TypeScript

interface ResponseObject {
id: string;
createdAt: string;
createdUserId: Date | null;
lastUpdatedAt: Date | null;
lastUpdateUserId: string;
createdFullName: string;
lastUpdateFullName: string;
profileId: string;
year: number;
no: string;
volume: string;
section: string;
page: string;
receiveDate: Date | null;
insigniaId: string;
insignia: ResponseInsigniaObject;
dateAnnounce: Date | null;
issue: string;
volumeNo: string;
refCommandDate: Date | null;
refCommandNo: string;
isUpload: boolean;
note: string;
}
interface ResponseInsigniaObject {
createdAt: Date;
createdFullName: string;
createdUserId: string;
id: string;
insigniaType: ResponseInsigniaType;
insigniaTypeId: string;
isActive: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date;
level: null;
name: string;
note: string;
shortName: string;
}
interface ResponseInsigniaType {
createdAt: Date;
createdFullName: string;
createdUserId: string;
id: string;
isActive: boolean;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date;
name: string;
}
export type { ResponseObject, ResponseInsigniaObject, ResponseInsigniaType };