using System;
using Edu.Common.Enum.Duty;
using VT.FW.DB;

namespace Edu.Model.Entity.Duty
{
    /// <summary>
    /// 值班事项实体表
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Duty_Item
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 事项名称
        /// </summary>
        public string ItemName { get; set; }

        /// <summary>
        /// 事项类型(1-选择，2-手动填写)
        /// </summary>
        public ItemTypeEnum? ItemType { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public string Shifts { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 事项所属校区
        /// </summary>
        public string ItemSchools { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 值班标准图片
        /// </summary>
        public string ItemImg { get; set; }

        /// <summary>
        /// 值班事项分类(1-工作清单，2-突发事项，3-交接说明)
        /// </summary>
        public int DutyCategory { get; set; }

        /// <summary>
        /// 值班类型(1-规则事项，2-值班事项)
        /// </summary>
        public int DutyType { get; set; }
    }
}
