namespace Yw.Entity
{
///
/// Bimface文件关联
///
[SugarTable("bimface_file_relation")]
public class BimfaceFileRelation : BaseEntity, ISorter, System.ICloneable
{
///
///
///
public BimfaceFileRelation() { }
///
///
///
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;
}
///
/// 数据类型
///
[SugarColumn(Length = 50, IsNullable = true)]
public string ObjectType { get; set; }
///
/// 数据id
///
public long ObjectID { get; set; }
///
/// Bimface文件id
///
public long BimfaceFileID { get; set; }
///
/// 用途
///
[SugarColumn(Length = 50, IsNullable = true)]
public string Purpose { get; set; }
///
/// 内容
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Content { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
[SugarColumn(ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Description { get; set; }
///
///
///
public BimfaceFileRelation Clone()
{
return (BimfaceFileRelation)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}