copy from Service/HStation.Service.Xhs.PumpProduct.Core/01-entity/PumpMain.cs
copy to HStation.Dto.Assets.Core/00-PumpProduct/03-PumpMain/PumpMainDto.cs
Îļþ´Ó Service/HStation.Service.Xhs.PumpProduct.Core/01-entity/PumpMain.cs ¸´ÖÆ |
| | |
| | | using SqlSugar; |
| | | using Yw.Entity; |
| | | using Yw.Model; |
| | | |
| | | namespace HStation.Entity |
| | | namespace HStation.Dto.Assets |
| | | { |
| | | /// <summary> |
| | | /// ä¸å¡ç« |
| | | /// </summary> |
| | | [SysType("xhs-pumpmain")] |
| | | [SugarTable("xhs-pumpmain")] |
| | | public class PumpMain : BaseEntity, IParas, IFlags, ITagName, ISorter, System.ICloneable |
| | | public class PumpMainDto |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain() |
| | | { } |
| | | public PumpMainDto() |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain(PumpMain rhs) : base(rhs) |
| | | public PumpMainDto(Model.PumpMain rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.PumpSeriesID = rhs.PumpSeriesID; |
| | | this.Name = rhs.Name; |
| | | this.Paras = rhs.Paras; |
| | | this.RatedEfficiency = rhs.RatedEfficiency; |
| | | this.RatedPower = rhs.RatedPower; |
| | | this.RatedEfficiency = rhs.RatedEfficiency; |
| | | this.Erosion = rhs.Erosion; |
| | | this.D2 = rhs.D2; |
| | | this.Flags = rhs.Flags; |
| | | this.Paras = rhs.Paras; |
| | | this.Name = rhs.Name; |
| | | this.TagName = rhs.TagName; |
| | | this.RatedSpeed = rhs.RatedSpeed; |
| | | this.RatedHead = rhs.RatedHead; |
| | | this.RatedFlow = rhs.RatedFlow; |
| | | this.SortCode = rhs.SortCode; |
| | | this.RatedSpeed = rhs.RatedSpeed; |
| | | this.RatedFlow = rhs.RatedFlow; |
| | | this.RatedHead = rhs.RatedHead; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// id |
| | | /// </summary> |
| | | public long ID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 泵系åID |
| | |
| | | /// <summary> |
| | | /// åæ° |
| | | /// </summary> |
| | | public string Paras { get; set; } |
| | | public Dictionary<string, string> Paras { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ ç¾ |
| | | /// </summary> |
| | | public string Flags { get; set; } |
| | | public List<string> Flags { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ å¿ |
| | |
| | | /// 说æ |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public PumpMain Clone() |
| | | { |
| | | return (PumpMain)this.MemberwiseClone(); |
| | | } |
| | | |
| | | object ICloneable.Clone() |
| | | { |
| | | return this.MemberwiseClone(); |
| | | } |
| | | } |
| | | } |