using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.ViewModel
{
    /// <summary>
    /// 巡检内容
    /// </summary>
    public class TispContentViewModel : BaseViewModel
    {
        private string inspectionContent;

        public Guid C_ID { get; set; }
        //public string C_Name { get; set; }
        public string C_Name
        {
            get { return this.inspectionContent; }
            set
            {
                this.inspectionContent = value;
            }
        }
        /// <summary>
        /// 内容选项
        /// </summary>
        public List<Option> InspectionContentoptions
        {
            get
            {
                return this.GetInspectionContentoptions(this.inspectionContent) ;
            }
        }
        public string C_AlarmLevel { get; set; }
        public string C_Remark { get; set; }
        public string C_StoreCode { get; set; }
        public string C_Number { get; set; }

        //public bool B_Alarm { get; set; } = false;

        //public string C_CreateBy { get; set; }
        public string D_CreateOn { get; set; }
        //public string C_LastUpdatedBy { get; set; }
        //public string D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }

        public int? I_Sort { get; set; }
    }
}