using HStation.Assets; using System.ComponentModel.DataAnnotations; namespace HStation.Dto.Assets { public class UpdateAssetsElbowMainInput { /// /// id /// [Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")] public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 管路连接长度 /// public eLengthType? ElbowLengthType { get; set; } /// /// 角度 /// public int? Angle { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 系数 /// public double MinorLoss { get; set; } /// /// 识别关键字 /// public string KeyWord { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } } }