namespace Yw.Model
{
///
/// 系统单位类型
///
public class SysUnitType : BaseModel, System.ICloneable
{
///
///
///
public SysUnitType() { }
///
///
///
public SysUnitType(SysUnitType rhs) : base(rhs)
{
this.Name = rhs.Name;
this.Code = rhs.Code;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(SysUnitType rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.Code = rhs.Code;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 名称
///
public string Name { get; set; }
///
/// 编码
///
public string Code { get; set; }
///
/// 排序
///
public int SortCode { get; set; }
///
/// 备注
///
public string Description { get; set; }
///
///
///
public SysUnitType Clone()
{
return new SysUnitType(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}