using Yw.Model;
namespace IStation.Model
{
///
/// 劣化程度
///
public class ChengHang : BaseModel, System.ICloneable
{
///
///
///
public ChengHang() { }
///
///
///
public ChengHang(ChengHang rhs) : base(rhs)
{
this.Name = rhs.Name;
this.Deduction = rhs.Deduction;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(ChengHang rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.Deduction = rhs.Deduction;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 名称
///
public string Name { get; set; }
///
/// 扣分
///
public int Deduction { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public ChengHang Clone()
{
return new ChengHang(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}