using IStation.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Application
{
///
/// 我的待接单维修报修单文件手机dto
///
public class MyRepairTaskRequestFileAssignedMobileDto
{
///
///
///
public MyRepairTaskRequestFileAssignedMobileDto() { }
///
///
///
public MyRepairTaskRequestFileAssignedMobileDto(Model.RepairRequestFile rhs)
{
this.ID = rhs.ID;
this.FileFormat = rhs.FileFormat;
this.FileName = rhs.FileName;
this.FileSuffix = rhs.FileSuffix;
this.StorageUrl = FileHelper.GetRelatedFilePath(rhs.StorageHouse, rhs.StorageCode);
}
///
/// 标识
///
public long ID { get; set; }
///
/// 文件格式
///
public eFileFormat FileFormat { get; set; }
///
/// 文件名称
///
public string FileName { get; set; }
///
/// 文件后缀
///
public string FileSuffix { get; set; }
///
/// 存储Url
///
public string StorageUrl { get; set; }
}
}