package com.ghy.system.domain;

import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * @author clunt
 * 部门配置表, 如支付账号。各个地方的图片等.
 */
@Data
public class SysDeptConfig extends BaseEntity {

    @Excel(name = "序号", cellType = Excel.ColumnType.NUMERIC)
    private Long sysDeptConfigId;

    @Excel(name = "部门id", cellType = Excel.ColumnType.NUMERIC)
    private Long deptId;

    @Excel(name = "首页图片", cellType = Excel.ColumnType.STRING)
    private String bannerUrl;

    // Adapay支付
    // apiKey为prod模式的API KEY
    // mockApiKey为mock模式的API KEY
    // rsaPrivateKey为商户发起请求时，用于请求参数加签所需要的RSA私钥
    private String adapayAppId;
    private String adapayApiKey;
    private String adapayMockApiKey;
    private String adapayRsaPrivateKey;
    private String adapayMaxRetryTimes;

    //微信消费者端配置
    private String wxAppId;
    private String wxSecret;

    //微信师傅端配置
    private String servWxAppId;
    private String servWxSecret;

    //平台扣点比例
    private String takeRate;

}
