| | |
| | | /// 阀门系列 |
| | | /// </summary> |
| | | [SysType("assets_pipe_series")] |
| | | public class AssetsPipeSeries : BaseModel, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable |
| | | public class AssetsPipeSeries : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | public AssetsPipeSeries(AssetsPipeSeries rhs) : base(rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.ParentIds = rhs.ParentIds; |
| | | this.CatalogID = rhs.CatalogID; |
| | | this.Name = rhs.Name; |
| | | this.Paras = rhs.Paras; |
| | | this.Flags = rhs.Flags; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.UseStatus = rhs.UseStatus; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | |
| | | public void Reset(AssetsPipeSeries rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.ParentIds = rhs.ParentIds; |
| | | this.CatalogID = rhs.CatalogID; |
| | | this.Name = rhs.Name; |
| | | this.Paras = rhs.Paras; |
| | | this.Flags = rhs.Flags; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.UseStatus = rhs.UseStatus; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 父级id列表 |
| | | /// </summary> |
| | | public List<long> ParentIds { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 所属类别ID |
| | | /// </summary> |
| | | public long CatalogID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 使用状态 |
| | | /// 排序码 |
| | | /// </summary> |
| | | public eUseStatus UseStatus { get; set; } |
| | | public int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说明 |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序码 |
| | | /// </summary> |
| | | public int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// |