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

namespace Siger.Middlelayer.Repository.Request
{
    public class RequestRestType
    {
        /// <summary>
        /// 休息类型名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 休息适用范围
        /// </summary>
        public int range { get; set; }
        /// <summary>
        /// 休息开始时间
        /// </summary>
        public string startTime { get; set; }
        /// <summary>
        /// 休息结束时间
        /// </summary>
        public string endTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime addTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public int uid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int projectid { get; set; }
    }

    public class RequestRestTypes: RequestRestType
    {
        public int id { get; set; }
    }

    public class RequestAllRestType 
    { 
        public int id { get; set; }

        public string name { get; set; }
    }


    public class RequestFrequency
    {
        
        /// <summary>
        /// 班制名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string train { get; set; }      
        /// <summary>
        /// 描述
        /// </summary>
        public string describe { get; set; }
    }

    public class RequestUpdateFrequency
    {
        public int id { get; set; }
        /// <summary>
        /// 班制名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string train { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string describe { get; set; }
    }

    public class RequestRestTypees
    {
        /// <summary>
        /// 班制名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string train { get; set; }
        public string train1 { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime addTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string uid { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string describe { get; set; }
    }
}
