using Yw.Model; namespace HStation.Model { /// /// 方案 /// [SysType("xhs-scheme")] public class XhsScheme : BaseModel, IParas, IFlags, ISorter, IUseStatus, System.ICloneable { /// /// /// public XhsScheme() { } /// /// /// public XhsScheme(XhsScheme rhs) : base(rhs) { this.SiteID = rhs.SiteID; this.NO = rhs.NO; this.Name = rhs.Name; this.SchemeType = rhs.SchemeType; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(XhsScheme rhs) { this.ID = rhs.ID; this.SiteID = rhs.SiteID; this.NO = rhs.NO; this.Name = rhs.Name; this.SchemeType = rhs.SchemeType; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 项目站id /// public long SiteID { get; set; } /// /// 编号 /// public string NO { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 方案类型 /// public eSchemeType SchemeType { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public XhsScheme Clone() { return new XhsScheme(this); } object ICloneable.Clone() { return this.Clone(); } } }