package cn.pluss.platform.leshua;

import java.math.BigDecimal;

/**
 * @author yuchen
 * 
 * @Description
 */
public class BizConstants {

	public static final BigDecimal RATE = BigDecimal.valueOf(0.0038d);

    public static final String CHARSET_UTF8 = "UTF-8";

    public static final String SIGN_TYPE_MD5 = "MD5";

    public static final String SUCCESS_CODE = "000000";

    /**
     * 初始版本,值为1
     **/
    public static final Integer VERSION_INITIAL = Integer.valueOf("1");

    /**
     * 无效模型ID，更新时使用
     **/
    public static final Long MODEL_ID_INVALID_UPDATE = Long.valueOf(-1);

    /**
     * 无效模型ID，前端搜索时使用
     **/
    public static final Long MODEL_ID_INVALID_QUERY = Long.valueOf(-2);

    /**
     * 缓存值Y
     **/
    public static final String CACHE_VAL_Y = "Y";

    //D0提现开关
    public final static String D0SETTLE_SWITCH = "d0settle.switch";

    /**
     * 开关打开
     **/
    public static final String SWITCH_ON = "ON";
    /**
     * 开关关闭
     **/
    public static final String SWITCH_OFF = "OFF";

    /**
     * 清算日期格式
     **/
    public static final String SETTLE_DATE_FORMAT = "yyyyMMdd";

    /**
     * 提现订单号前缀
     **/
    public static final String WITHDRAW_ORDER_PREFIX = "W";

    /**
     * 快捷支付支付订单号前缀
     **/
    public static final String FAST_PAY_ORDER_PREFIX = "FP";

    /**
     * 快捷支付提现订单号前缀
     **/
    public static final String FAST_WITHDRAW_ORDER_PREFIX = "FW";

    /**
     * 快捷支付鉴权订单号前缀
     **/
    public static final String FAST_AUTH_ORDER_PREFIX = "AU";

    /**
     * 民生提现前缀
     **/
    public static final String WITHDRAW_MSBANK_ORDER_PREFIX = "WMS";

    /**
     * 华夏提现前缀
     **/
    public static final String WITHDRAW_HXBANK_ORDER_PREFIX = "WHX";

    public static final String ONLINE_ORDER_PREFIX_ALI = "ALI";
    public static final String ONLINE_ORDER_PREFIX_WX = "WX";

    /**
     * 结算流水号前缀
     **/
    public static final String SETT_TRX_NO_PREFIX = "SETT";
    /**
     * 结算批次号
     **/
    public static final String SETT_BATCH_NO_PREFIX = "SB";

    /**
     * 民生银行标识
     */

    public static final String EMPTY_STR = "";

    public static final String DECOLLATOR = ",";
    /**
     * 民生T单笔提现费
     */
    public static final String MSBANK_DEFAULT_T1DRAW_FEE = "msbank.deafult.t1draw.fee";

    /**
     * 对账文件路径存取
     */
    public static final String SYJ_RECONFILE_PATH = "syj.reconfile.path";

    /**
     * 民生主动查询商户缓存标识
     */
    public static final String QUERY_MERCHANT_APPROVE_STATUS_SUBMIT_FLAG = "query_merchant_approve_status_re_submit_flag";

    /**
     * 新增或者修改的操作类型
     **/
    public static final String INSERT_OPERATION_TYPE = "INSERT";
    public static final String MODIFY_OPERATION_TYPE = "MODIFY";

    public static final String SIGN_METHOD_MD5 = "MD5";
    public static final String SIGN_TYPE_KEY = "signType";
    public static final String SIGN_KEY = "sign";
    public static final String RANDOM_STR_KEY = "randomStr";

    /**
     * 合利宝1579生产环境商户号(同人进出)
     **/
    public static final String HLB_MERCHANT_NO_1579_SP = "C1800001579";

    /**
     * 合利宝1579生产环境商户号(渔果同人进出)
     **/
    public static final String HLB_MERCHANT_NO_5851_SP = "C1800195851";

    /**
     * 合利宝1450生产环境商户号(非同人进出)
     **/
    public static final String HLB_MERCHANT_NO_1450_DP = "C1800001450";
    /**
     * 腾付通生产环境商户号
     **/
    public static final String TFT_MERCHANT_NO = "846584048162206";
    /**
     * 临时资质文件保存目录路径
     */
    public static final String MERCH_PIC_TMP = "merch_pic_tmp";

}

