using Yw.Entity;
namespace HStation.Entity
{
///
///
///
[SysType("assets-package-part-main")]
[SugarTable("assets_package_part_main")]
public class AssetsPackagePartMain : BaseEntity, ICode, ISorter, System.ICloneable
{
///
///
///
public AssetsPackagePartMain()
{ }
///
///
///
public AssetsPackagePartMain(AssetsPackagePartMain rhs) : base(rhs)
{
this.SeriesID = rhs.SeriesID;
this.Name = rhs.Name;
this.NO = rhs.NO;
this.Code = rhs.Code;
this.SortCode = rhs.SortCode;
}
///
/// 系列ID
///
public long SeriesID { get; set; }
///
/// 产品名称
///
public string Name { get; set; }
///
/// 产品编号
///
[SugarColumn(Length = 100, IsNullable = true)]
public string NO { get; set; }
///
/// 产品图号
///
[SugarColumn(Length = 255, IsNullable = true)]
public string Code { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
///
///
public AssetsPackagePartMain Clone()
{
return (AssetsPackagePartMain)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}