namespace IStation.Model { /// /// 租户 /// public partial class Tenant : Yw.Model.BaseModel, System.ICloneable { /// /// /// public Tenant() { } /// /// /// public Tenant(Tenant rhs) : base(rhs) { this.Name = rhs.Name; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(Tenant rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标记 /// public string TagName { get; set; } /// /// 使用状态 /// public Yw.Model.eUseStatus UseStatus { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public Tenant Clone() { return new Tenant(this); } object ICloneable.Clone() { return Clone(); } } }