using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 功能点 /// public partial class Func : System.ICloneable { /// /// /// public Func() { } /// /// /// public Func(Func rhs) { this.ID = rhs.ID; this.SoftType = rhs.SoftType; this.SoftTag = rhs.SoftTag; this.MenuID = rhs.MenuID; this.Code = rhs.Code; this.Name = rhs.Name; this.Icon = rhs.Icon; this.SortCode = rhs.SortCode; this.Paras = rhs.Paras==null?null:new Dictionary(rhs.Paras); this.TagName = rhs.TagName; this.Description = rhs.Description; } /// /// /// public void Reset(Func rhs) { this.ID = rhs.ID; this.SoftType = rhs.SoftType; this.SoftTag = rhs.SoftTag; this.MenuID = rhs.MenuID; this.Code = rhs.Code; this.Name = rhs.Name; this.Icon = rhs.Icon; this.SortCode = rhs.SortCode; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.TagName = rhs.TagName; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 软件类型 /// public string SoftType { get; set; } /// /// 软件标签 /// public string SoftTag { get; set; } /// /// 菜单标识 /// public long MenuID { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 图标 /// public string Icon { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 排序 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public Func Clone() { return (Func)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }