using System;
using System.Collections.Generic;
using System.Text;

namespace Siger.Middlelayer.CncRepository.Request
{
    public class RequestDateClockRecord
    {
        /// <summary>
        /// 产线层级
        /// </summary>
        public string stationline { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string starttime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string endtime { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int section { get; set; } = 0;
        /// <summary>
        /// 班次
        /// </summary>
        public int shift { get; set; } = 0;
        /// <summary>
        /// 人员
        /// </summary>
        public int users { get; set; }
        public int page { get; set; } = 1;
        public int pagesize { get; set; } = 10;
    }
    public class RequestClockRecord
    {
        /// <summary>
        /// name
        /// </summary>
        public string name { get; set; } = string.Empty;
        /// <summary>
        /// 签到时间
        /// </summary>
        public DateTime time { get; set; } 

        /// <summary>
        /// 0:没人  1:当前登录人  2:其他人
        /// </summary>
        public int type { get; set; }
    }
}
