CheckDataListResponse.cs 1.16 KB
namespace HHECS.WorkHourStatistics.Dtos
{
    public class CheckDataListResponse
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        public bool NeedTotal { get; set; }
        public int Total { get; set; }
        public List<WorkRecordDto> DataList { get; set; } = new List<WorkRecordDto>();
    }

    public class WorkRecordDto
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string PersonName { get; set; } = null!;

        /// <summary>
        /// 工号
        /// </summary>
        public string Number { get; set; } = null!;

        public bool IsOnWork { get; set; }

        /// <summary>
        /// 打卡时间
        /// </summary>
        public string? CreateTime { get; set; }

        /// <summary>
        /// 上班、下班时间
        /// </summary>
        public string? BaseCheckTime { get; set; }

        /// <summary>
        /// 打卡地址
        /// </summary>
        public string LocationAddress { get; set; } = null!;

        /// <summary>
        /// 打卡日期
        /// </summary>
        public string CheckDate { get; set; } = null!;
    }
}