using System.Text.Json.Serialization;

namespace Essensoft.Paylink.Alipay.Domain
{
    /// <summary>
    /// MiniPackageInfo Data Structure.
    /// </summary>
    public class MiniPackageInfo : AlipayObject
    {
        /// <summary>
        /// 功能包文档地址
        /// </summary>
        [JsonPropertyName("doc_url")]
        public string DocUrl { get; set; }

        /// <summary>
        /// 功能包描述
        /// </summary>
        [JsonPropertyName("package_desc")]
        public string PackageDesc { get; set; }

        /// <summary>
        /// 功能包名称
        /// </summary>
        [JsonPropertyName("package_name")]
        public string PackageName { get; set; }

        /// <summary>
        /// 功能包开通方式，"APPLY", "申请开通"；"ORDER", "签约开通"；"DEFAULT", "默认开通"
        /// </summary>
        [JsonPropertyName("package_open_type")]
        public string PackageOpenType { get; set; }

        /// <summary>
        /// 功能包签约状态，"valid", "已生效"；"audit", "签约中"；"invalid", "已失效"；"none", "未签约"
        /// </summary>
        [JsonPropertyName("status")]
        public string Status { get; set; }
    }
}
