namespace Yw.Entity
{
///
/// 系统单位值
///
[SugarTable("sys_unit_value")]
public class SysUnitValue : BaseEntity, ICode, ISorter, System.ICloneable
{
///
///
///
public SysUnitValue() { }
///
///
///
public SysUnitValue(SysUnitValue rhs) : base(rhs)
{
this.TypeID = rhs.TypeID;
this.Name = rhs.Name;
this.Code = rhs.Code;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 字典类型Id
///
public long TypeID { get; set; }
///
/// 名称
///
[SugarColumn(Length = 50, IsNullable = true)]
public string Name { get; set; }
///
/// 编码
///
[SugarColumn(Length = 100, IsNullable = true)]
public string Code { get; set; }
///
/// 排序
///
public int SortCode { get; set; }
///
/// 说明
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Description { get; set; }
///
///
///
public SysUnitValue Clone()
{
return (SysUnitValue)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}