package com.ghy.system.domain;

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

import java.math.BigDecimal;

/**
 * @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;

    @Excel(name = "社区保证金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal singleMoney;

    @Excel(name = "社区接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer singleOrderPay;

    @Excel(name = "社区未缴纳接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer singleOrderNoPay;

    @Excel(name = "区域保证金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal areaMoney;

    @Excel(name = "区域接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer areaOrderPay;

    @Excel(name = "区域未缴纳接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer areaOrderNoPay;

    @Excel(name = "城市保证金额", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal cityMoney;

    @Excel(name = "城市接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer cityOrderPay;

    @Excel(name = "城市未缴纳接单数", cellType = Excel.ColumnType.NUMERIC)
    private Integer cityOrderNoPay;

    @Excel(name = "业务员提成比例", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal workerRate;

    @Excel(name = "客服电话", cellType = Excel.ColumnType.STRING)
    private String phone;

    @Excel(name = "排班超时罚金", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal plainOutTime;

    @Excel(name = "上门超时罚金", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal goOutTime;

    @Excel(name = "进行超时罚金", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal goingOutTime;

    @Excel(name = "进行超时罚金比例", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal goingOutTimeRate;

    @Excel(name = "金牌服务罚金倍数", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal goldenServer;

    @Excel(name = "师傅月租费用", cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal monthRent;

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

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

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

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

}
