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 TsecRecordItemDetailViewModel : BaseViewModel { private string inspectionContent; public Guid RecordId { get; set; } /// <summary> /// 安检记录 /// </summary> //public Guid SecurityId { get; set; } //public string SecurityContent { get; set; } //public string SecurityRemark { get; set; } public string SecurityCreateByName { get; set; } //public string SecurityCreateOn { get; set; } //public string SecurityLastUpdatedByName { get; set; } //public string SecurityLastUpdatedOn { get; set; } //public string SecurityStatus { get; set; } public Guid C_ID { get; set; } public Guid C_RecordItemCode { get; set; } public string C_SecurityContent { get; set; } public string C_Remark { get; set; } public string C_Status { get; set; } public Guid C_CreateBy { get; set; } public DateTime? D_CreateOn { get; set; } public Guid C_LastUpdatedBy { get; set; } public DateTime? D_LastUpdatedOn { get; set; } /// <summary> /// 巡检记录 /// </summary> //public string InspectionContent { get; set; } public string InspectionContent { get { return this.inspectionContent; } set { this.inspectionContent = value; } } /// <summary> /// 内容选项 /// </summary> public List<Option> InspectionContentoptions { get { return this.GetInspectionContentoptions(this.inspectionContent); } } public string InspectionRemark { get; set; } public string InspectionStatus { get; set; } public DateTime InspectionTime { get; set; } /// <summary> /// 巡检人员姓名 /// </summary> public string InspectionUserName { get; set; } /// <summary> /// 内容报警等级 /// </summary> public string ContentAlarmLevel { get; set; } /// <summary> /// 内容名称 /// </summary> public string ContentName { get; set; } /// <summary> /// 巡检点名称 /// </summary> public string SpotName { get; set; } /// <summary> /// 巡检点编号 /// </summary> public string SpotNumber { get; set; } public string SpotImage { get; set; } //public IEnumerable<RecordImage> RecordImageList { get; set; } } }