using Yw.Model;
namespace HStation.Model
{
///
/// 业务站
///
[SysType("assets_pump_type")]
public class AssetsPumpType : BaseModel, ISorter, System.ICloneable
{ ///
///
///
public AssetsPumpType()
{ }
///
///
///
public AssetsPumpType(AssetsPumpType rhs) : base(rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
public void Reset(AssetsPumpType rhs)
{
this.ID = rhs.ID;
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 名称
///
public string Name { get; set; }
///
/// 父级id列表(版本控制)
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public List ParentIds { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
public AssetsPumpType Clone()
{
return (AssetsPumpType)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}