using System.Collections.Generic; using System; using System.ComponentModel.DataAnnotations; namespace Model { /// /// 隐患整改通知单项 /// public class RectifyNoticesDto { /// /// 项目名称 /// [Required(ErrorMessage = "项目名称不能为空")] public string ProjectId { get; set; } /// /// 编号 /// public string RectifyNoticesCode { get; set; } /// /// 受检单位名称 /// [Required] public string UnitId { get; set; } /// /// 单位工程名称 /// public string WorkAreaId { get; set; } /// /// 检查人员身份证号组 /// public string CheckManIds { get; set; } /// /// 检查日期 /// public DateTime? CheckedDate { get; set; } /// /// 隐患类别(1-一般;2-较大;3-重大) /// [Required] public string HiddenHazardType { get; set; } /// /// 编制人身份证号 /// public string CompleteManId { get; set; } /// /// 图片 /// public string AttachUrl { get; set; } /// /// 整改前图片 /// public string BeAttachUrl { get; set; } /// /// 整改后图片 /// public string AfAttachUrl { get; set; } /// /// 状态(0:待提交;1:待签发;2:待整改;3:待复查,4:已完成;) /// [Required] public string States { get; set; } /// /// 隐患整改明细表 /// public List RectifyNoticesDtoItem { get; set; } } /// /// 隐患整改通知单整改项 /// public class RectifyNoticesDtoItem { /// /// 具体位置及隐患内容 /// public string WrongContent { get; set; } /// /// 整改要求 /// public string Requirement { get; set; } /// /// 整改前照片 /// public string PhotoBeforeUrl { get; set; } /// /// 整改期限 /// public DateTime? LimitTime { get; set; } } }