namespace Yw.Model
{
///
/// Bimface文件
///
public class BimfaceFile : BaseModel, 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.CreateUserID = rhs.CreateUserID;
this.CreateTime = rhs.CreateTime;
this.CreateUserName = rhs.CreateUserName;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateTime = rhs.UpdateTime;
this.UpdateUserName = rhs.UpdateUserName;
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.CreateUserID = rhs.CreateUserID;
this.CreateTime = rhs.CreateTime;
this.CreateUserName = rhs.CreateUserName;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateTime = rhs.UpdateTime;
this.UpdateUserName = rhs.UpdateUserName;
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; }
///
/// 创建人id
///
public long CreateUserID { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建人名称
///
public string CreateUserName { get; set; }
///
/// 更新人id
///
public long? UpdateUserID { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 更新人名称
///
public string UpdateUserName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public BimfaceFile Clone()
{
return new BimfaceFile(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}