ÎļþÃû´Ó Service/HStation.Service.Assets.Core/02-model/12-Compressor/AssetsCompressorSeries.cs ÐÞ¸Ä |
| | |
| | | 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; |
| | |
| | | /// ç¶çº§idå表 |
| | | /// </summary> |
| | | public List<long> ParentIds { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æå±ç±»å«ID |
| | | /// </summary> |
| | | public long CatalogID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åç§° |
| | |
| | | /// <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(); |
| | | } |
| | | } |
| | | } |