¶Ô±ÈÐÂÎļþ |
| | |
| | | using Yw.Model; |
| | | |
| | | namespace HStation.Model |
| | | { |
| | | /// <summary> |
| | | /// ä¸å¡ç« |
| | | /// </summary> |
| | | [SysType("xhs-project")] |
| | | public class XhsProject : BaseModel, IParas, IFlags, ITagName, ITreeSorter, System.ICloneable |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProject() { } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProject(XhsProject rhs) : base(rhs) |
| | | { |
| | | this.ParentIds = rhs.ParentIds?.ToList(); |
| | | this.NO = rhs.NO; |
| | | this.Name = rhs.Name; |
| | | this.Address = rhs.Address; |
| | | this.Customer = rhs.Customer; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public void Reset(XhsProject rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.ParentIds = rhs.ParentIds?.ToList(); |
| | | this.NO = rhs.NO; |
| | | this.Name = rhs.Name; |
| | | this.Address = rhs.Address; |
| | | this.Customer = rhs.Customer; |
| | | this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras); |
| | | this.Flags = rhs.Flags?.ToList(); |
| | | this.TagName = rhs.TagName; |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç¶çº§idå表 |
| | | /// </summary> |
| | | public List<long> ParentIds { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¼å· |
| | | /// </summary> |
| | | public string NO { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åç§° |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 详ç»å°å |
| | | /// </summary> |
| | | public string Address { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¢æ· |
| | | /// </summary> |
| | | public string Customer { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åæ° |
| | | /// </summary> |
| | | public Dictionary<string, string> Paras { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ ç¾ |
| | | /// </summary> |
| | | public List<string> Flags { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ å¿ |
| | | /// </summary> |
| | | public string TagName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåºç |
| | | /// </summary> |
| | | public int SortCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说æ |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public XhsProject Clone() |
| | | { |
| | | return new XhsProject(this); |
| | | } |
| | | |
| | | object ICloneable.Clone() |
| | | { |
| | | return this.Clone(); |
| | | } |
| | | } |
| | | } |