using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 特殊属性/附加属性 值
|
/// </summary>
|
public class SpecialPropertyValue : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialPropertyValue() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialPropertyValue(SpecialPropertyValue rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID= rhs.ObjectID;
|
this.PropertyID = rhs.PropertyID;
|
this.PropertyValue = rhs.PropertyValue;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(SpecialPropertyValue rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.PropertyID = rhs.PropertyID;
|
this.PropertyValue = rhs.PropertyValue;
|
}
|
|
/// <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 ObjectID { get; set; }
|
|
/// <summary>
|
/// 属性标识
|
/// </summary>
|
public long PropertyID { get; set; }
|
|
/// <summary>
|
/// 属性值
|
/// </summary>
|
public string PropertyValue { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SpecialPropertyValue Clone()
|
{
|
return (SpecialPropertyValue)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|