using HStation.Assets; using System.Reflection.Metadata; namespace HStation.Dto.Assets { public class AssetsCompressorMainDto { public AssetsCompressorMainDto() { } public AssetsCompressorMainDto(Model.AssetsCompressorMain rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Material = rhs.Material; this.Caliber = rhs.Caliber; this.SortCode = rhs.SortCode; this.MinorLoss = rhs.MinorLoss; this.KeyWord = rhs.KeyWord; this.Description = rhs.Description; } public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 系数 /// public double? MinorLoss { get; set; } /// /// 识别关键字 /// public List KeyWord { get; set; } /// /// 是否默认 /// public bool IsDefault { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } } }