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