WorkRecordRequest.cs 1010 Bytes
namespace HHECS.WorkHourStatistics.Dtos
{
    public class WorkRecordRequest
    {
        /// <summary>
        /// 第几页,从1开始
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页多少条数据
        /// </summary>
        public int PageSize { get; set; }

        public Datapenetration DataPenetration { get; set; } = new Datapenetration();
    }

    public class Datapenetration
    {
        /// <summary>
        /// 考勤开始日期,格式:2022-04-27
        /// </summary>
        public string StartDate { get; set; } = null!;

        /// <summary>
        /// 考勤结束日期,格式:2022-04-27
        /// </summary>
        public string EndDate { get; set; } = null!;

        /// <summary>
        /// 是否员工端
        /// </summary>
        public bool Staff { get; set; }

        /// <summary>
        /// 指定人员ID
        /// </summary>
        public string? PersonId { get; set; }
    }
}