namespace Yw.Model { /// /// Dma点位 /// public partial class DmaSite : BaseTraceModel, ICode, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public DmaSite() { } /// /// /// public DmaSite(DmaSite rhs) : base(rhs) { this.BelongType = rhs.BelongType; this.BelongID = rhs.BelongID; this.Name = rhs.Name; this.Code = rhs.Code; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(DmaSite rhs) { this.ID = rhs.ID; this.BelongType = rhs.BelongType; this.BelongID = rhs.BelongID; this.Name = rhs.Name; this.Code = rhs.Code; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.CreateUserName = rhs.CreateUserName; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; this.UpdateUserName = rhs.UpdateUserName; } /// /// 所属类型 /// public string BelongType { get; set; } /// /// 所属id /// public long BelongID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public DmaSite Clone() { return new DmaSite(this); } object ICloneable.Clone() { return Clone(); } } }