using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudGaming.AppConfigModel
{

    /// <summary>
    /// 阿里云配置
    /// </summary>
    public class AliyunConfig
    {
        /// <summary>
        /// 
        /// </summary>
        public string AccessKeyId { get; set; }
        /// <summary>
        /// 配置环境变量
        /// </summary>
        public string AccessKeySecret { get; set; }

        #region 阿里云OSS配置
        /// <summary>
        /// 替换为Bucket所在地域对应的Endpoint。以华东1（杭州）为例，Endpoint填写为https://oss-cn-hangzhou.aliyuncs.com。
        /// </summary>
        public string EndPoint { get; set; }
        /// <summary>
        /// Bucket名称。
        /// </summary>
        public string BucketName { get; set; }

        /// <summary>
        /// 上传路径
        /// </summary>
        public string UploadPath { get; set; }

        /// <summary>
        /// 域名
        /// </summary>
        public string? DomainName { get; set; }

        /// <summary>
        /// 前缀
        /// </summary>
        public string ImagePrefix
        {
            get
            {
                return this.DomainName; //+ this.UploadPath
            }
        }

        #endregion

        /// <summary>
        /// 短信签名名称
        /// </summary>
        public string SmsSignName { get; set; }

        /// <summary>
        /// string 短信模板配置
        /// </summary>
        public string SmsTemplateCode { get; set; }

    }
}
