namespace Yw.Model
{
///
/// Dma分区
///
public partial class DmaArea : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
{
///
///
///
public DmaArea() { }
///
///
///
public DmaArea(DmaArea rhs) : base(rhs)
{
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.Name = rhs.Name;
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(DmaArea rhs)
{
this.ID = rhs.ID;
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.Name = rhs.Name;
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 string BelongType { get; set; }
///
/// 所属id
///
public long BelongID { get; set; }
///
/// 名称
///
public string Name { 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 DmaArea Clone()
{
return new DmaArea(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}