using Ewide.Core; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ewide.Application { public class HouseTaskInput { [Required(ErrorMessage = "巡查日期不能为空")] public DateTime PatrolDate { get; set; } [Required(ErrorMessage = "巡查人员/单位不能为空")] public string PatrolUser { get; set; } /// /// 沉降倾斜 /// public string SettlementTilt { get; set; } /// /// 沉降倾斜附件 /// public string SettlementTiltFiles { get; set; } /// /// 其他情况 /// public string OtherInfo { get; set; } /// /// 其他情况附件 /// public string OtherInfoFiles { get; set; } //[Required(ErrorMessage = "巡查初始等级不能为空")] public int InitGrade { get; set; } //[Required(ErrorMessage = "巡查损坏等级不能为空")] public int DamageGrade { get; set; } //[Required(ErrorMessage = "巡查综合等级不能为空")] public int ComprehensiveGrade { get; set; } /// /// 主要安全隐患综述 /// public string MainSafety { get; set; } /// /// 处理意见 /// public int? HandlingOpinion { get; set; } /// /// 处理意见备注 /// public string HandlingOpinionRemark { get; set; } /// /// 整改情况 /// public int? RectifyAndReform { get; set; } /// /// 整改情况备注 /// public string RectifyAndReformRemark { get; set; } /// /// 巡查结果:1正常,-1异常 /// //[Required(ErrorMessage = "巡查结果不能为空")] public int PatrolResult { get; set; } public string PatrolResultRemark { get; set; } /// /// 上报街道 /// public int? ReportRoad { get; set; } /// /// 上报街道时间 /// public DateTime? ReportRoadTime { get; set; } /// /// 上报区住建 /// public int? ReportArea { get; set; } /// /// 上报区住建时间 /// public DateTime? ReportAreaTime { get; set; } /// /// 上报备注 /// public string ReportRemark { get; set; } } public class AddHouseTaskInput : HouseTaskInput { } public class EditHouseTaskInput : HouseTaskInput { [Required(ErrorMessage = "任务Id不能为空")] public string Id { get; set; } } public class QueryHouseTaskInput : PageInputBase { } }