namespace HStation.WinFrmUI
{
///
///
///
public class SelectXhsProjectTransferFileViewModel
{
///
///
///
public SelectXhsProjectTransferFileViewModel() { }
///
///
///
public SelectXhsProjectTransferFileViewModel(HStation.Vmo.TransferRevitFileVmo rhs)
{
this.ID = rhs.ID;
this.FileName = rhs.FileName;
this.FileCode = rhs.FileCode;
this.FileSize = Math.Round(rhs.FileSize / 1024f / 1024f, 1).ToString() + "Mb";
this.FileSuffix = rhs.FileSuffix;
this.UploadTime = rhs.UploadTime.ToStandardString();
this.UploadUserName = rhs.UploadUserName;
this.StorageHouse = rhs.StorageHouse;
this.StorageCode = rhs.StorageCode;
this.Description = rhs.Description;
this.Vmo = rhs;
}
///
/// ID
///
[DisplayName("ID")]
public long ID { get; set; }
///
/// 文件名称
///
[DisplayName("文件名称")]
public string FileName { get; set; }
///
/// 文件编码
///
[DisplayName("文件编码")]
public string FileCode { get; set; }
///
/// 文件大小
///
[DisplayName("文件大小")]
public string FileSize { get; set; }
///
/// 文件后缀
///
[DisplayName("文件后缀")]
public string FileSuffix { get; set; }
///
/// 上传时间
///
[DisplayName("上传时间")]
public string UploadTime { get; set; }
///
/// 上传用户
///
[DisplayName("上传用户")]
public string UploadUserName { get; set; }
///
/// 存储仓库
///
[DisplayName("存储仓库")]
public string StorageHouse { get; set; }
///
/// 存储编码
///
[DisplayName("存储编码")]
public string StorageCode { get; set; }
///
/// 说明
///
[DisplayName("说明")]
public string Description { get; set; }
///
///
///
public HStation.Vmo.TransferRevitFileVmo Vmo { get; set; }
}
}