package com.fs.his.config;

import com.fs.course.vo.FsUserCourseVideoVO;
import com.fs.his.domain.FsPackage;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class AppConfig {
    private String giftImage;
    private List<FsPackage> fsPackage;
    private Long courseId;
    private List<FsUserCourseVideoVO> fsCourse;
    private Integer unbindLimit;

    //积分提现商户配置
    private Integer isNew;//0:老商户 商家转账到零钱 1:新商户 商家转账

    /**
     * 商户号.
     */
    private String mchId;
    /**
     * 商户密钥.
     */
    private String mchKey;

    /**
     * p12证书文件的绝对路径或者以classpath:开头的类路径.
     */
    private String keyPath;

    /**
     * apiclient_key.pem证书文件的绝对路径或者以classpath:开头的类路径.
     */
    private String privateKeyPath;

    /**
     * apiclient_cert.pem证书文件的绝对路径或者以classpath:开头的类路径.
     */
    private String privateCertPath;

    /**
     * apiV3 秘钥值.
     */
    private String apiV3Key;
    /**
     * 公钥ID
     */
    private String publicKeyId;

    /**
     * pub_key.pem证书文件的绝对路径或者以classpath:开头的类路径.
     */
    private String publicKeyPath;

    private String notifyUrl;

    private String withdrawalNotifyUrl;


    //一次允许提现最大金额(元)
    private BigDecimal maxApplicationAmount;

    //一天允提现次数
    private Integer withdrawNum;

    //连续提现几天封控
    private Integer limitDayNum;

    //连续提现几天封控
    private BigDecimal limitAmount;

    private Long tongueFlag;
    private String appId;
}
