namespace Yw.Model
{
///
/// Dma分区
///
public partial class DmaArea : BaseModel, System.ICloneable
{
///
///
///
public DmaArea() { }
///
///
///
public DmaArea(DmaArea 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;
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 void Reset(DmaArea 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; }
///
/// 创建用户id
///
public long CreateUserID { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建用户名称
///
public string CreateUserName { get; set; }
///
/// 更新用户id
///
public long? UpdateUserID { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 更新用户名称
///
public string UpdateUserName { get; set; }
///
///
///
public DmaArea Clone()
{
return new DmaArea(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}