hrms-mgt/src/modules/04_registryNew/interface/response/Insignia.ts

58 lines
1.2 KiB
TypeScript

interface ResponseObject {
id: string;
createdAt: string;
createdUserId: Date | string;
lastUpdatedAt: Date | string;
lastUpdateUserId: string;
createdFullName: string;
lastUpdateFullName: string;
profileId: string;
isActive: boolean;
year: number;
no: string;
volume: string;
section: string;
page: string;
receiveDate: Date | string;
insigniaId: string;
insignia: ResponseInsigniaObject;
dateAnnounce: Date | string;
issue: string;
volumeNo: string;
refCommandDate: Date | string;
refCommandNo: string;
note: string;
insigniaName?: 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 };