Files
admin-vben5/apps/web-antd/src/api/property/attendanceManagement/shiftSetting/model.d.ts
2025-07-20 17:47:41 +08:00

128 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { PageQuery, BaseEntity } from '#/api/common';
export interface ShiftVO {
/**
* 主键id
*/
id: string | number;
/**
* 班次名称
*/
name: string;
/**
* 考勤开始时间
*/
startTime: string;
/**
* 考勤结束时间
*/
endTime: string;
/**
* 状态0off1on
*/
status: number;
/**
* 是否休息0不休息1休息
*/
isRest: number;
/**
* 休息开始时间
*/
restStartTime: string;
/**
* 休息结束时间
*/
restEndTime: string;
}
export interface ShiftForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 班次名称
*/
name?: string;
/**
* 考勤开始时间
*/
startTime?: string;
/**
* 考勤结束时间
*/
endTime?: string;
/**
* 状态0off1on
*/
status?: number;
/**
* 是否休息0不休息1休息
*/
isRest?: number;
/**
* 休息开始时间
*/
restStartTime?: string;
/**
* 休息结束时间
*/
restEndTime?: string;
}
export interface ShiftQuery extends PageQuery {
/**
* 班次名称
*/
name?: string;
/**
* 考勤开始时间
*/
startTime?: string;
/**
* 考勤结束时间
*/
endTime?: string;
/**
* 状态0off1on
*/
status?: number;
/**
* 是否休息0不休息1休息
*/
isRest?: number;
/**
* 休息开始时间
*/
restStartTime?: string;
/**
* 休息结束时间
*/
restEndTime?: string;
/**
* 日期范围参数
*/
params?: any;
}