namespace Yw.Model
{
///
/// Bimface文件
///
public class BimfaceFile : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
{
///
///
///
public BimfaceFile() { }
///
///
///
public BimfaceFile(BimfaceFile rhs) : base(rhs)
{
this.BimfaceId = rhs.BimfaceId;
this.Name = rhs.Name;
this.ModelType = rhs.ModelType;
this.FileStatus = rhs.FileStatus;
this.FileSize = rhs.FileSize;
this.FormatType = rhs.FormatType;
this.FileSuffix = rhs.FileSuffix;
this.StorageUrl = rhs.StorageUrl;
this.Content = rhs.Content;
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(BimfaceFile rhs)
{
this.ID = rhs.ID;
this.BimfaceId = rhs.BimfaceId;
this.Name = rhs.Name;
this.ModelType = rhs.ModelType;
this.FileStatus = rhs.FileStatus;
this.FileSize = rhs.FileSize;
this.FormatType = rhs.FormatType;
this.FileSuffix = rhs.FileSuffix;
this.StorageUrl = rhs.StorageUrl;
this.Content = rhs.Content;
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 平台id
///
public string BimfaceId { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 模型类型
///
public int ModelType { get; set; }
///
/// 文件状态
///
public int FileStatus { get; set; }
///
/// 文件大小
///
public string FileSize { get; set; }
///
/// 文件格式
///
public int FormatType { get; set; }
///
/// 文件后缀
///
public string FileSuffix { get; set; }
///
/// 存储URL
///
public string StorageUrl { get; set; }
///
/// 设置
///
public string Content { get; set; }
///
/// 参数
///
public Dictionary Paras { get; set; }
///
/// 标签
///
public List Flags { get; set; }
///
/// 标记
///
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public BimfaceFile Clone()
{
return new BimfaceFile(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}