using Yw.Entity; namespace HStation.Entity { /// /// 厂商 /// [SysType("assets_manufacturer")] [SugarTable("assets_manufacturer")] public class AssetsManufacturer : BaseEntity, IFlags, ITagName, ISorter,IUseStatus, System.ICloneable { public AssetsManufacturer() { } public AssetsManufacturer(AssetsManufacturer rhs) : base(rhs) { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.Contacter = rhs.Contacter; this.Telephone = rhs.Telephone; this.Address = rhs.Address; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AssetsManufacturer rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Contacter = rhs.Contacter; this.Telephone = rhs.Telephone; this.Address = rhs.Address; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 联系人 /// public string Contacter { get; set; } /// /// 联系电话 /// public string Telephone { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 标签 /// public string Flags { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 使用状态 /// public int UseStatus { get; set; } /// /// /// public AssetsManufacturer Clone() { return (AssetsManufacturer)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }