148 lines
3.1 KiB
TypeScript
148 lines
3.1 KiB
TypeScript
interface listAppointType {
|
|
personalId: string;
|
|
citizenId: number;
|
|
fullname: string;
|
|
organizationName: string;
|
|
orgName: string;
|
|
organizationShortName: string;
|
|
positionNumber: string;
|
|
positionPath: string;
|
|
status: string;
|
|
createdAt: string;
|
|
birthday: string;
|
|
educationOld: string;
|
|
organizationPositionOld: string;
|
|
positionTypeOld: string;
|
|
positionLevelOld: string;
|
|
positionNumberOld: string;
|
|
salary: number;
|
|
positionDate: Date;
|
|
}
|
|
|
|
interface resData {
|
|
id: string;
|
|
citizenId: number;
|
|
prefix: string;
|
|
firstname: string;
|
|
lastname: string;
|
|
organizationName: string;
|
|
organizationShortName: string;
|
|
positionNumber: string;
|
|
positionPath: string;
|
|
status: string;
|
|
createdAt: Date;
|
|
dateOfBirth: Date;
|
|
educationOld: string;
|
|
organizationPositionOld: string;
|
|
positionTypeOld: string;
|
|
positionLevelOld: string;
|
|
positionNumberOld: string;
|
|
salary: number;
|
|
positionDate: Date;
|
|
}
|
|
interface orgFilter {
|
|
orgName: string;
|
|
status: string;
|
|
educationOld: string;
|
|
organizationPositionOld: string;
|
|
positionTypeOld: string;
|
|
positionLevelOld: string;
|
|
positionNumberOld: string;
|
|
salary: number;
|
|
positionDate: Date;
|
|
}
|
|
interface appointmentData {
|
|
citizenId: string;
|
|
prefixId?: string;
|
|
firstname?: string;
|
|
lastname?: string;
|
|
}
|
|
|
|
interface UserData {
|
|
id: string;
|
|
citizenId: string;
|
|
fullname: string;
|
|
organizationName: string;
|
|
orgName: string;
|
|
organizationShortName: string;
|
|
positionNumber: string;
|
|
positionPath: string;
|
|
status: string;
|
|
createdAt: string;
|
|
birthday: string;
|
|
}
|
|
|
|
interface UserDataNew {
|
|
id: string;
|
|
citizenId: string;
|
|
fullname: string;
|
|
organizationName: string;
|
|
orgName: string;
|
|
organizationShortName: string;
|
|
positionNumber: string;
|
|
positionPath: string;
|
|
status: string;
|
|
createdAt: string;
|
|
birthday: string;
|
|
}
|
|
|
|
interface ResponseData {
|
|
data: {
|
|
result: {
|
|
citizenId: string;
|
|
profileId: string;
|
|
prefix: string;
|
|
firstName: string;
|
|
lastName: string;
|
|
organizationPositionOld: string;
|
|
positionLevelOld: string;
|
|
positionTypeOld: string;
|
|
status: string;
|
|
educationOld: string;
|
|
positionNumberOld: string;
|
|
salary: number;
|
|
reason: string;
|
|
positionDate: Date;
|
|
avatar: string;
|
|
};
|
|
};
|
|
}
|
|
interface DataProfile {
|
|
child1: string | null;
|
|
child1ShortName: string | null;
|
|
child2: string | null;
|
|
child2ShortName: string | null;
|
|
child3: string | null;
|
|
child3ShortName: string | null;
|
|
child4: string | null;
|
|
child4ShortName: string | null;
|
|
createdAt: string | Date;
|
|
dateEnd: string | Date;
|
|
dateStart: string | Date;
|
|
firstName: string;
|
|
id: string;
|
|
isActive: boolean;
|
|
lastName: string;
|
|
organization: string;
|
|
organizationPositionOld: string;
|
|
posLevelName: string;
|
|
posMasterNo: number | null;
|
|
posTypeName: string;
|
|
position: string;
|
|
prefix: string;
|
|
profileId: string;
|
|
reason: string;
|
|
root: string;
|
|
rootShortName: string | null;
|
|
status: string;
|
|
}
|
|
export type {
|
|
listAppointType,
|
|
resData,
|
|
orgFilter,
|
|
appointmentData,
|
|
UserData,
|
|
UserDataNew,
|
|
ResponseData,
|
|
DataProfile,
|
|
};
|