package com.chaozhanggui.system.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * @author lyf
 */
@Configuration
@ConfigurationProperties(prefix = "alipay-config")
@Data
public class AliPayConfig implements Serializable {
    /**
     * 应用私钥
     */
    private String privateKey;
    /**
     * 支付宝AppID
     */
    private String alipayAppId;
    /**
     * app公钥证书路径
     */
    private String appCertPublicKeyPath;
    /**
     * 阿里公钥证书路径
     */
    private String alipayCertPublicKeyPath;
    /**
     * 阿里根证书路径
     */
    private String alipayRootCertPath;
}
