using System;

namespace MineTec.ProManager.Storage
{
    /// <summary>
    /// 文件对象描述
    /// </summary>
    public class BlobObjectInfo
    {
        /// <summary>
        /// 内容类型
        /// </summary>
        public string ContentType { get; set; }

        /// <summary>
        /// 内容MD5
        /// </summary>
        public string ContentMD5 { get; set; }

        public string ETag { get; set; }

        /// <summary>
        /// 大小
        /// </summary>
        public long Length { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LastModified { get; set; }

        /// <summary>
        /// 容器
        /// </summary>
        public string BucketName { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string ObjectName { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string Url { get; set; }
    }
}
