using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 特殊属性/附加属性 /// [SugarTable("special_property")] public class SpecialProperty : CorpTraceEntity, System.ICloneable, ISorter { /// /// /// public SpecialProperty() { } /// /// /// public SpecialProperty(SpecialProperty rhs) : base(rhs) { this.ObjectType = rhs.ObjectType; this.GroupID = rhs.GroupID; this.Identifier = rhs.Identifier; this.Name = rhs.Name; this.ValueFormat = rhs.ValueFormat; this.InputFormat = rhs.InputFormat; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 关联类型 /// public string ObjectType { get { return _objectType; } set { _objectType = value; } } private string _objectType; /// /// 属性组标识 /// public long GroupID { get { return _groupid; } set { _groupid = value; } } private long _groupid; /// /// 识别码 /// public string Identifier { get { return _identifier; } set { _identifier = value; } } private string _identifier; /// /// 属性名称 /// public string Name { get { return _name; } set { _name = value; } } private string _name; /// /// 数据格式 /// public int ValueFormat { get { return _valueformat; } set { _valueformat = value; } } private int _valueformat; /// /// 录入格式 /// public int InputFormat { get { return _inputformat; } set { _inputformat = value; } } private int _inputformat; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 说明 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// /// public SpecialProperty Clone() { return (SpecialProperty)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }