using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 特殊属性/附加属性
|
/// </summary>
|
public class SpecialProperty : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialProperty() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialProperty(SpecialProperty rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
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;
|
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(SpecialProperty rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
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;
|
|
this.CreateUserID = rhs.CreateUserID;
|
this.CreateTime = rhs.CreateTime;
|
this.UpdateUserID = rhs.UpdateUserID;
|
this.UpdateTime = rhs.UpdateTime;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 客户标识
|
/// </summary>
|
public long CorpID { get; set; }
|
|
/// <summary>
|
/// 关联类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
|
/// <summary>
|
/// 属性组标识
|
/// </summary>
|
public long GroupID { get; set; }
|
|
/// <summary>
|
/// 识别码
|
/// </summary>
|
public string Identifier { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 数值格式
|
/// </summary>
|
public ePropertyValueFormat ValueFormat { get; set; }
|
|
/// <summary>
|
/// 输入格式
|
/// </summary>
|
public ePropertyInputFormat InputFormat { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
/// 创建用户标识
|
/// </summary>
|
public long CreateUserID { get; set; }
|
|
/// <summary>
|
/// 创建时间
|
/// </summary>
|
public DateTime CreateTime { get; set; }
|
|
/// <summary>
|
/// 更新用户标识
|
/// </summary>
|
public long? UpdateUserID { get; set; }
|
|
/// <summary>
|
/// 更新时间
|
/// </summary>
|
public DateTime? UpdateTime { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialProperty Clone()
|
{
|
return (SpecialProperty)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|