上传文件实体类

/// <summary>
///上传文件实体类
/// </summary>
public class UpLoadFileInfo
{
    public UpLoadFileInfo()
    {
       
    }

    private string fileOldName;
    /// <summary>
    /// 原文件名称
    /// </summary>
    public string FileOldName
    {
        get { return fileOldName; }
        set { fileOldName = value; }
    }

    private string newFileName;
    /// <summary>
    /// 新文件名称
    /// </summary>
    public string NewFileName
    {
        get { return newFileName; }
        set { newFileName = value; }
    }

    private string saveUrl;
    /// <summary>
    /// 文件保存路径
    /// </summary>
    public string SaveUrl
    {
        get { return saveUrl; }
        set { saveUrl = value; }
    }


    private double fileSize;
    /// <summary>
    /// 文件大小
    /// </summary>
    public double FileSize
    {
        get { return fileSize; }
        set { fileSize = value; }
    }

    private string fileType;
    /// <summary>
    /// 文件类型
    /// </summary>
    public string FileType
    {
        get { return fileType; }
        set { fileType = value; }
    }


    private string thumbnailsUrl;
    /// <summary>
    /// 缩略图的路径
    /// </summary>
    public string ThumbnailsUrl
    {
        get { return thumbnailsUrl; }
        set { thumbnailsUrl = value; }
    }


    private string tarballUrl;
    /// <summary>
    /// 压缩后的路径
    /// </summary>
    public string TarballUrl
    {
        get { return tarballUrl; }
        set { tarballUrl = value; }
    }

    private string thumbnailsPwd;
    /// <summary>
    /// 压缩后的密码
    /// </summary>
    public string ThumbnailsPwd
    {
        get { return thumbnailsPwd; }
        set { thumbnailsPwd = value; }
    }
}

原文地址:https://www.cnblogs.com/LYunF/p/2357978.html