using MadRunFabric.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace SignTokenApi.Model.Input
{
    public class ClassGroupInput
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 项目id
        /// </summary>
        public string projectid { get; set; }
        /// <summary>
        /// 班别名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 班别代码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string starttime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string endtime { get; set; }
        /// <summary>
        /// 绑定角色（岗位）
        /// </summary>
        public List<ClassGroupRoleList> roleList { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 是否值班时间段(是值班true)
        /// </summary>
        public bool iswork { get; set; } = false;
    }

    #region 字段 model
    ///// <summary>
    ///// 绑定角色（岗位） - 班别管理
    ///// </summary>
    //public class ClassGroupRoleListInput
    //{
    //    /// <summary>
    //    /// 角色id
    //    /// </summary>
    //    public string roleid { get; set; }
    //    /// <summary>
    //    /// 角色code
    //    /// </summary>
    //    public string rolecode { get; set; }
    //    /// <summary>
    //    /// 劫色名称
    //    /// </summary>
    //    public bool rolename { get; set; }
    //}
    #endregion

}
