using System.Text.Json.Serialization; namespace Sharing.Province.Dtos.XieTong.Receive { /// /// 服务工单预警 /// public class SendWarnInfoRequest { /// /// /// public ClientInfo token { get; set; } /// /// 服务工单 /// public SendWarnInfoModel paras { get; set; } } /// /// 服务工单预警 /// public class SendWarnInfoModel : BaseProvinceModel { /// /// 预警规则 /// [JsonPropertyName("WARN_RULENAME")] [MDisplayName("预警规则")] [VRequired] [VStringLength(0, 50)] public string WarnRulename { get; set; } /// /// 规则明细 /// [JsonPropertyName("WARN_DESCRIBE")] [MDisplayName("规则明细")] [VRequired] [VStringLength(0, 200)] public string WarnDescribe { get; set; } /// /// 预警应处理时间 /// [JsonPropertyName("WARN_TIMEBF")] [MDisplayName("预警应处理时间")] [VRequired] public DateTime? WarnTimebf { get; set; } /// /// 预警等级 /// [JsonPropertyName("WARN_DEGREE")] [MDisplayName("预警等级")] [VRequired] [VStringLength(0, 50)] public string WarnDegree { get; set; } /// /// 预警类型 /// [JsonPropertyName("WARN_TYPE")] [MDisplayName("预警类型")] [VRequired] [VStringLength(0, 50)] public string WarnType { get; set; } /// /// 预警时间 /// [JsonPropertyName("WARN_DATE")] [MDisplayName("预警时间")] [VRequired] public DateTime? WarnDate { get; set; } } }