lixiaojun
2024-12-20 357693611c60d93fb17189273d4c91dab364f0d4
Service/HStation.Service.Assets.Core/02-model/21-compressor/AssetsCompressorSeries.cs
ÎļþÃû´Ó Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs ÐÞ¸Ä
@@ -3,38 +3,38 @@
namespace HStation.Model
{
    /// <summary>
    /// ç³»åˆ—
    /// åŽ‹ç¼©æœºç³»åˆ—
    /// </summary>
    [SysType("assets_compressor_series")]
    [SugarTable("assets_compressor_series")]
    public class AssetsCompressorSeries : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
    public class AssetsCompressorSeries : BaseModel, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public AssetsCompressorSeries()
        { }
        public AssetsCompressorSeries() { }
        /// <summary>
        ///
        /// </summary>
        public AssetsCompressorSeries(AssetsCompressorSeries rhs) : base(rhs)
        {
            this.ID = rhs.ID;
            this.ParentIds = rhs.ParentIds;
            this.CatalogID = rhs.CatalogID;
            this.ParentIds = rhs.ParentIds?.ToList();
            this.Name = rhs.Name;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>();
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
        /// <summary>
        ///
        /// </summary>
        public void Reset(AssetsCompressorSeries rhs)
        {
            this.ID = rhs.ID;
            this.ParentIds = rhs.ParentIds;
            this.CatalogID = rhs.CatalogID;
            this.ParentIds = rhs.ParentIds?.ToList();
            this.Name = rhs.Name;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>();
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
@@ -45,11 +45,6 @@
        /// çˆ¶çº§id列表
        /// </summary>
        public List<long> ParentIds { get; set; }
        /// <summary>
        /// æ‰€å±žç±»åˆ«ID
        /// </summary>
        public long CatalogID { get; set; }
        /// <summary>
        /// åç§°
@@ -84,14 +79,14 @@
        /// <summary>
        ///
        /// </summary>
        public AssetsPumpSeries Clone()
        public AssetsCompressorSeries Clone()
        {
            return (AssetsPumpSeries)this.MemberwiseClone();
            return new AssetsCompressorSeries(this);
        }
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
            return this.Clone();
        }
    }
}