duheng
2024-07-18 7bf79c6515f27ba9be8d2b3fb4e3ceae5718e3e5
HStation.Dto.Assets.Core/00-PumpProduct/03-PumpMain/PumpMainDto.cs
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 ¸´ÖÆ
@@ -1,42 +1,35 @@
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
@@ -51,12 +44,12 @@
        /// <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>
        /// æ ‡å¿—
@@ -107,18 +100,5 @@
        /// è¯´æ˜Ž
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        ///
        /// </summary>
        public PumpMain Clone()
        {
            return (PumpMain)this.MemberwiseClone();
        }
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
}