using System;
using System.Collections.Generic;
using System.Text;
using Edu.Common.Enum.Public;
using VT.FW.DB;

namespace Edu.Model.Public
{
    /// <summary>
    /// 文件上传位置
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_File_Store
    {

        public int ID { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 学校编号
        /// </summary>
        public int School_Id { get; set; }

        /// <summary>
        /// 0-否1-是
        /// </summary>
        public int IsDefault { get; set; }

        public int Status { get; set; }

        public DateTime CreateDate { get; set; }
        public DateTime UpdateDate { get; set; }

        /// <summary>
        /// 空间名称
        /// </summary>
        public string Bucket { get; set; }

        /// <summary>
        /// 存储位置，1-腾讯云，2-阿里，3-其他
        /// </summary>
        public StoreTypeEnum StoreType { get; set; }

        /// <summary>
        /// 所属区域
        /// </summary>
        public string Region { get; set; }

        /// <summary>
        /// 自定义域名
        /// </summary>
        public string CustomDomain { get; set; }

        /// <summary>
        /// 上传域名
        /// </summary>
        public string UploadDomain { get; set; }

        /// <summary>
        /// 自定义域名
        /// </summary>
        public string SecretKey { get; set; }
        /// <summary>
        /// 自定义域名
        /// </summary>
        public string SecretId { get; set; }


    }
}
