namespace Yw.Model
|
{
|
/// <summary>
|
/// Bimface文件关联
|
/// </summary>
|
public class BimfaceFileRelation : BaseModel, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public BimfaceFileRelation() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public BimfaceFileRelation(BimfaceFileRelation rhs) : base(rhs)
|
{
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.BimfaceFileID = rhs.BimfaceFileID;
|
this.Purpose = rhs.Purpose;
|
this.Content = rhs.Content;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(BimfaceFileRelation rhs)
|
{
|
this.ID = rhs.ID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.BimfaceFileID = rhs.BimfaceFileID;
|
this.Purpose = rhs.Purpose;
|
this.Content = rhs.Content;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 数据类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
|
/// <summary>
|
/// 数据id
|
/// </summary>
|
public long ObjectID { get; set; }
|
|
/// <summary>
|
/// Bimface文件id
|
/// </summary>
|
public long BimfaceFileID { get; set; }
|
|
/// <summary>
|
/// 用途
|
/// </summary>
|
public string Purpose { get; set; }
|
|
/// <summary>
|
/// 内容
|
/// </summary>
|
public string Content { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public BimfaceFileRelation Clone()
|
{
|
return new BimfaceFileRelation(this);
|
}
|
|
object ICloneable.Clone()
|
{
|
return Clone();
|
}
|
}
|
|
}
|