namespace Yw.Entity { /// /// 系统单位类型 /// [SugarTable("sys_unit_type")] public class SysUnitType : BaseEntity, ICode, ISorter, 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; } /// /// 名称 /// [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 SysUnitType Clone() { return (SysUnitType)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }