132 lines
2.9 KiB
TypeScript
132 lines
2.9 KiB
TypeScript
export type UserFull = {
|
|
userId: string;
|
|
userPw: string;
|
|
userName: string;
|
|
userCmpn: string;
|
|
userTeam: string;
|
|
userRole: number;
|
|
memo: string;
|
|
userDetail: Record<string, string>;
|
|
};
|
|
|
|
export type UserCompact = {
|
|
userId: string;
|
|
userCmpn: string;
|
|
userTeam: string;
|
|
userName: string;
|
|
userRole: number;
|
|
userDetail: Record<string, string>;
|
|
};
|
|
|
|
export type Code = {
|
|
codeGroup: string;
|
|
codeValue: number;
|
|
codeGroupLabel: string;
|
|
codeLabel: string;
|
|
memo: string;
|
|
};
|
|
|
|
export type PerformanceAssign = {
|
|
id: number;
|
|
performanceId: number;
|
|
assignType: number;
|
|
assignOrder: number;
|
|
assignUser: string;
|
|
assignConfirm: boolean;
|
|
};
|
|
|
|
export type MonitoringApplyUser = {
|
|
performanceId: number;
|
|
userId: string;
|
|
user: UserCompact;
|
|
};
|
|
|
|
export type AssignUserCount = {
|
|
assignUser: string;
|
|
assignCount: number;
|
|
};
|
|
|
|
export type PerformanceApplyCount = {
|
|
performanceId: string;
|
|
applyCnt: number;
|
|
};
|
|
|
|
export type MonitoringGpsRequest = {
|
|
gpsLatitude: number | null;
|
|
gpsLongitude: number | null;
|
|
gpsAccuracyM: number | null;
|
|
gpsRaw: Record<string, unknown>;
|
|
};
|
|
|
|
export type PerformanceBase = {
|
|
id: number;
|
|
businessType: number;
|
|
performanceGenre: number;
|
|
performanceArea: number;
|
|
artistName: string;
|
|
performanceName: string;
|
|
performanceStartMonth: number;
|
|
performanceDtInfo: string;
|
|
performanceTimeInfo: string;
|
|
ticketReservationStatus: number;
|
|
ticketReservationMemo: string;
|
|
performanceMemo: string;
|
|
};
|
|
|
|
export type PerformanceCompact = PerformanceBase & {
|
|
performanceDetail: Record<string, string>;
|
|
performanceStaff: PerformanceStaff[];
|
|
performanceMonitoringSchedule: PerformanceMonitoringSchedule;
|
|
};
|
|
|
|
export type PerformanceFull = PerformanceBase & {
|
|
performanceDetail: Record<string, string>;
|
|
performanceStaff: PerformanceStaff[];
|
|
performanceMonitoringSchedule: PerformanceMonitoringSchedule;
|
|
performanceAssignList: PerformanceAssign[];
|
|
performanceMonitoringVisitMap: Record<string, PerformanceMonitoringVisit[]>;
|
|
performanceReviewMap: Record<string, PerformanceReview[]>;
|
|
};
|
|
|
|
export type PerformanceMonitoringSchedule = {
|
|
id: number;
|
|
performanceId: number;
|
|
monitoringDate: string;
|
|
monitoringTimeInfo: string;
|
|
monitoringAddress: string;
|
|
};
|
|
|
|
export type PerformanceMonitoringVisit = {
|
|
id: number;
|
|
performanceId: number;
|
|
regUser?: string;
|
|
regDt?: string;
|
|
monitoringVisitStatus: number;
|
|
evidenceImg: string;
|
|
gpsLatitude: number;
|
|
gpsLongitude: number;
|
|
gpsAccuracyM: number;
|
|
gpsRaw: Record<string, unknown>;
|
|
};
|
|
|
|
export type PerformanceReview = {
|
|
performanceId: number;
|
|
reviewType: number;
|
|
regUser: string;
|
|
reviewDt: string;
|
|
reviewStatus: number;
|
|
uploadFileName: string;
|
|
pdfConvert: boolean;
|
|
pdfFileName: string;
|
|
};
|
|
|
|
export type PerformanceStaff = {
|
|
id: number;
|
|
performanceId: number;
|
|
staffType: number;
|
|
staffName: string;
|
|
staffTel1: string;
|
|
staffTel2: string;
|
|
staffEmail: string;
|
|
};
|