using HStation.PBS; using System.ComponentModel.DataAnnotations; namespace PBS.Dto { /// /// 设施 /// public class UpdateFacilityInput { /// /// 标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")] public long ID { get; set; } /// /// 场所标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "PlaceID 必须大于0")] public long PlaceID { get; set; } /// /// 成套设备标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "PackageID 必须大于0")] public long PackageID { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 供水单元 /// public eWaterSupply WaterSupply { get; set; } /// /// 供水模式 /// public eSupplyMode SupplyMode { get; set; } /// /// 楼层 /// public int Floor { get; set; } /// /// 层高 /// public double? FloorHeight { get; set; } /// /// 户数 /// public int? Households { get; set; } /// /// 最大需水量 /// public double? MaxWaterDemand { get; set; } /// /// 恒定压力 /// public double? ConstantPressure { get; set; } /// /// 末端压力 /// public double? TerminalPressure { get; set; } /// /// 使用状态 /// public Yw.Model.eUseStatus UseStatus { get; set; } /// /// 最高楼层标高 /// public double MaxHeight { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 说明 /// public string Description { get; set; } } }