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