using Yw.Model; namespace HStation.Model { /// /// 项目站 /// [SysType("xhs-project-site")] public class XhsProjectSite : BaseModel, IParas, IFlags, ISorter, IUseStatus, System.ICloneable { /// /// /// public XhsProjectSite() { } /// /// /// public XhsProjectSite(XhsProjectSite rhs) : base(rhs) { this.ProjectID = rhs.ProjectID; this.Name = rhs.Name; 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(XhsProjectSite rhs) { this.ID = rhs.ID; this.ProjectID = rhs.ProjectID; this.Name = rhs.Name; 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 ProjectID { get; set; } /// /// 名称 /// public string Name { 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 XhsProjectSite Clone() { return new XhsProjectSite(this); } object ICloneable.Clone() { return this.Clone(); } } }