using Edu.Common.Enum.Duty;
using Edu.Model.Entity.Duty;
using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Model.ViewModel.Duty
{
    /// <summary>
    /// 值班内容视图实体类
    /// </summary>
    public class RB_Duty_Content_ViewModel : RB_Duty_Content
    {
        /// <summary>
        /// 页面修改
        /// </summary>
        public List<string> FileList { get; set; }

        /// <summary>
        /// 值班计划编号【查询使用】
        /// </summary>
        public string QPlanIds { get; set; }

        /// <summary>
        /// 是否可以修改和删除(1-可修改可删除)
        /// </summary>
        public int IsOperate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTimeStr { get { return Common.ConvertHelper.FormatTimeStr(this.CreateTime); } }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTimeStr2 { get; set; }

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