package com.crm.gateway.constants;

/**
 * Created by max on 2017/10/31.
 */
public class Constants {
    public static final String AES_KEY = "sde@5f98H*^hsff%dfs$r344&df8543*er";

    public static final String LOGIN_LINK = "!@#";

    // <editor-fold desc="系统自定义消息及状态码">

    // <editor-fold desc="系统自定义状态码">

    /**
     * 一般成功
     */
    public static final int SUCCESS_CODE = 200;

    /**
     * 一般错误
     */
    public static final int FAILED_CODE = 400;

    /**
     * 404页面未找到 或者接口不存在
     */
    public static final int FAILED_CODE_404 = 404;

    /**
     * 系统错误
     */
    public static final int SYSTEM_ERROR_CODE = 500;

    /**
     * 未登录
     */
    public static final int UNLOGIN_CODE = 600;

    /**
     * 限制登录
     */
    public static final int RESTRICTED_LOGIN_CODE = 700;

    //</editor-fold>

    /**
     * 新增成功
     */
    public static final String ADD_SUCCESS = "add_success";

    public static final String REGISTER_SUCCESS = "register_success";

    /**
     * 修改成功
     */
    public static final String UPDATE_SUCCESS = "update_success";

    /**
     * 修改失败
     */
    public static final String UPDATE_ERROR = "update_error";

    /**
     * 删除成功
     */
    public static final String DELETE_SUCCESS = "delete_success";

    /**
     * 查询成功
     */
    public static final String SEARCH_SUCCESS = "search_success";

    /**
     * 系统错误
     */
    public static final String SYSTEM_ERROR = "system_error";

    /**
     * 请选择行
     */
    public static final String SELECT_ROW = "select_row";

    /**
     * 参数错误
     */
    public static final String PARAMETER_ERROR = "parameter_error";

    /**
     * 未找到数据
     */
    public static final String INFO_NOT_FOUND = "info_not_found";

    /**
     * 审核通过
     */
    public static final String APPROVE_SUCCESS = "approve_success";

    /**
     * 不符合审核条件
     */
    public static final String CANNOT_APPROVE = "cannot_appove";

    /**
     * 请填写拒绝理由
     */
    public static final String INPUT_REJECT_REASON = "input_reject_reason";

    /**
     * 请选择文件上传
     */
    public static final String UPLOAD_FILE_EMPTY = "upload_file_empty";

    /**
     * 上传成功
     */
    public static final String UPLOAD_SUCCESS = "upload_success";

    /**
     * 上传失败
     */
    public static final String UPLOAD_FAILED = "upload_filed";

    public static final String UPLOAD_FILE_SIZE_MAX = "upload_file_size_max";

    public static final String UPLOAD_FILE_REGEX = "upload_file_regex";

    public static final String UPLOAD_FILE_NOT_NULL = "upload_file_not_null";

    /**
     * 文件大小限制为%s
     */
    public static final String UPLOAD_OVERSIZE = "upload_oversize";

    /**
     * 文件已存在
     */
    public static final String FILE_IS_EXIST = "file_exist";

    /**
     * 邮件发送成功
     */
    public static final String MAIL_SUCCESS = "mail_success";

    /**
     * 邮件发送失败
     */
    public static final String MAIL_FAILED = "mail_failed";

    /**
     * 短信发送成功
     */
    public static final String MSG_SUCCESS = "msg_success";

    /**
     * 短信发送失败
     */
    public static final String MSG_FAIL = "msg_fail";

    /**
     * 登录信息存放
     */
    public static final String LOGIN_INFO = "loginInfo";

    /**
     * 用户名或密码错误
     */
    public static final String LOGIN_FAIL = "login_fail";

    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "login_success";

    /**
     * 退出成功
     */
    public static final String LOGOUT_SUCCESS = "logout_success";

    /**
     * 稍后重试
     */
    public static final String RETRY_AFTER = "retry_after";

    public static final String INVALID = "invalid";

    /**
     * 限制登录
     */
    public static final String RESTRICTED_LOGIN = "restricted_login";

    public static final String VALIDATION_DATA = "validation_data";

    /**
     * 成功
     */
    public static final String SUCCESS = "success";

    /**
     * 失败
     */
    public static final String FAIL = "fail";

    /**
     * 发送成功
     */
    public static final String SEND_SUCCESS = "send_success";

    /**
     * 密码格式不正确
     */
    public final static String PASSWORD_FORMAT_ERROR = "password_format_error";

    /**
     * 密码不能为空
     */
    public final static String PASSWORD_NOT_NULL_ERROR = "password_not_null_error";

    /**
     * 密码错误
     */
    public final static String PASSWORD_ERROR = "password_error";

    /**
     * 新旧密码相同
     */
    public final static String PASSWORD_NEW_AND_OLD_IDENTICAL_ERROR = "password_new_and_old_identical_error";

    /**
     * 邮箱格式错误
     */
    public final static String EMAIL_FORMAT_ERROR = "email_format_error";

    /**
     * 邮箱不能为空
     */
    public final static String EMAIL_NOT_NULL_ERROR = "email_not_null_error";

    /**
     * 邮箱验证码不能为空
     */
    public final static String EMAIL_CODE_NOT_NULL_ERROR = "email_code_not_null_error";

    public final static String EMAIL_CODE_ERROR = "email_code_error";

    public final static String LOGIN_EMAIL_ERROR = "login_email_error";

    /**
     * 手机号码格式不正确
     */
    public final static String PHONE_FORMAT_ERROR = "phone_format_error";

    /**
     * 手机号码不能为空
     */
    public final static String PHONE_NOT_NULL_ERROR = "phone_not_null_error";

    /**
     * 手机验证码
     */
    public final static String PHONE_CODE_NOT_NULL_ERROR = "phone_code_not_null_error";

    /**
     * 手机验证码错误
     */
    public final static String PHONE_CODE_ERROR = "phone_code_error";

    /**
     * 用户名已存在
     */
    public final static String USERNAME_IS_EXIST_ERROR = "username_is_exist_error";

    public final static String LOGIN_NOT_EXIST_ERROR = "login_not_exist_error";

    public final static String LOGIN_NOT_NULL_ERROR = "login_not_null_error";

    public final static String LOGIN_IS_EXIST_ERROR = "login_is_exist_error";

    /**
     * 邮箱已存在
     */
    public final static String EMAIL_IS_EXIST_ERROR = "email_is_exist_error";

    /**
     * 手机号码已存在
     */
    public final static String PHONE_IS_EXIST_ERROR = "phone_is_exist_error";

    public final static String IDENTITY_IS_EXIST_ERROR = "identity_is_exist_error";
    public final static String INVALID_REQUEST = "invalid_request";
    /**
     * 名称不能为空
     */
    public final static String NAME_NOT_NULL = "name_not_null";

    /**
     * 用户名不能为空
     */
    public final static String USERNAME_NOT_NULL_ERROR = "username_not_null_error";

    /**
     * 用户不存在
     */
    public final static String USER_NOT_EXIST_ERROR = "user_not_exist_error";

    public final static String NOT_PERMIT = "not_permit";

    public final static String CURRENCY_EXIST_ERROR = "currency_exist_error";

    public final static String PLATFORM_NOT_NULL = "platform_not_null";

    public final static String SPECIAL_CHANNEL_NOT_DELETE = "SPECIAL_CHANNEL_NOT_DELETE";

    public final static String MARKET_PROMO_CODE_USE = "market_promo_code_use";

    public final static String MARKET_PROMO_CODE_EXPIRED = "market_promo_code_expired";

    public final static String MARKET_PROMO_CODE_NOT_EXIST = "market_promo_code_not_exist";

    public final static String UPLOAD_EXCEL_ERROR = "upload_excel_error";

    public final static String LOGIN_SUPERIOR_LIMIT = "login_superior_limit";

    public final static String LOGIN_NOT_ALLOWED_ACTIVITY_ERROR = "login_not_allowed_activity_error";

    public final static String LOGIN_NOT_USE_PROMO_CODE_ERROR = "login_not_use_promo_code_error";

    public final static String SYMBOL_IS_REPEAT_ERROR = "symbol_is_repeat_error";


    public final static String MARKETS_EMAIL_INTERVAL_ERROR = "markets_email_interval_error";
    //</editor-fold>

    // <editor-fold desc="图形验证码">

    /**
     * code存储
     */
    public static final String VALIDATECODE_INFO = "VALIDATECODE_INFO";

    //失效时间
    public static final Integer VALIDATECODE_TIME = 5;

    //错误消息
    public static final String VALIDATECODE_FAILED = "图形验证码错误";

    //</editor-fold>

    /**
     * 邮件token有效期
     */
    public static final int EMAIL_TOKEN_TIME = 30;

    public static final int EMAIL_VALIDATECODE_TIME = 5;

    public static final int EMAIL_REGISTER_VALIDATECODE_TIME = 60 * 2;

    public static final String EMAIL_EXPIRE = "邮件过期";

    public static final int SMS_VALIDATECODE_TIME = 5;

    // <editor-fold desc="activemq jms url">

    public static final String ACTIVEMQ_JMS_URL_LOG = "LOG.NEW";

    public static final String ACTIVEMQ_JMS_URL_SMS = "SMS.NEW";

    public static final String ACTIVEMQ_JMS_URL_EMAIL = "EMAIL.NEW";

    public static final String ACTIVEMQ_JMS_URL_EMAIL_MARKETS = "EMAIL.NEW.MARKETS";

    public static final String ACTIVEMQ_JMS_URL_EMAIL_SUPPLEMENT = "EMAIL.SUPPLEMENT";

    public static final String ACTIVEMQ_JMS_URL_EMAIL_MARKETS_SUPPLEMENT = "EMAIL.MARKETS.SUPPLEMENT";

    //出入金类型(回调时根据类型修改对应的数据)
    //出入金
    public static final String TRADE_TRANS_INFO = "TRADE_TRANS_INFO";
    //内转
    public static final String TRADE_TRANS_TRANSFER_INFO = "TRADE_TRANS_TRANSFER_INFO";
    //代理内转
    public static final String TRADE_TRANS_AGENT_TRANSFER_INFO = "TRADE_TRANS_AGENT_TRANSFER_INFO";
    //活动赠金入金
    public static final String TRADE_TRANS_ACTIVITY_GIVE_INFO = "TRADE_TRANS_ACTIVITY_GIVE_INFO";
    //退款
    public static final String TRADE_TRANS_REFUND_INFO = "TRADE_TRANS_REFUND_INFO";
    //撤销信用金
    public static final String TRADE_CANCELLATION_CREDIT_TRANS_INFO = "TRADE_CANCELLATION_CREDIT_TRANS_INFO";
    //商户交易账户余额内转
    public static final String MERCHANT_TRANS_TRANSFER_INFO = "MERCHANT_TRANS_TRANSFER_INFO";

    public static final String TRADE_TRANS_REVOKE_CREDIT_INFO = "TRADE_TRANS_REVOKE_CREDIT_INFO";
    //出入金推送平台
    public static final String MT5_TRADE_TRANS_INFO = "MT5_TRADE_TRANS_INFO";
    public static final String MT4_TRADE_TRANS_INFO = "MT4_TRADE_TRANS_INFO";

    //出入金回调地址(mq接收)
    public static final String TRANS_INFO_CALLBACK = "TRADE_TRANS_INFO_CALLBACK";

    //创建客户
    public static final String USER_RECORD_CREATE = "USER_RECORD_CREATE";
    //创建客户推送平台
    public static final String MT5_USER_RECORD_CREATE = "MT5_USER_RECORD_CREATE";
    public static final String MT4_USER_RECORD_CREATE = "MT4_USER_RECORD_CREATE";
    //创建客户回调地址(mq接收)
    public static final String USER_RECORD_CREATE_CALLBACK = "USER_RECORD_CREATE_CALLBACK";

    //修改用户类型(回调时根据类型修改对应的数据)
    public static final String USER_RECORD_UPDATE = "USER_RECORD_UPDATE";
    public static final String USER_RECORD_LEVERAGE_UPDATE = "USER_RECORD_LEVERAGE_UPDATE";

    public static final String USER_ENABLE_READ_ONLY_UPDATE = "USER_ENABLE_READ_ONLY_UPDATE";
    //修改用户推送平台
    public static final String MT5_USER_RECORD_UPDATE = "MT5_USER_RECORD_UPDATE";
    public static final String MT4_USER_RECORD_UPDATE = "MT4_USER_RECORD_UPDATE";
    //修改用户回调地址(mq接收)
    public static final String USER_RECORD_UPDATE_CALLBACK = "USER_RECORD_UPDATE_CALLBACK";

    //修改密码类型(回调时根据类型修改对应的数据)
    public static final String USER_RECORD_MASTER_PASSWORD_CHANGE_UPDATE = "USER_RECORD_MASTER_PASSWORD_CHANGE_UPDATE";
    public static final String USER_RECORD_MASTER_PASSWORD_REST_UPDATE = "USER_RECORD_MASTER_PASSWORD_REST_UPDATE";
    public static final String USER_RECORD_INVESTOR_PASSWORD_REST_UPDATE = "USER_RECORD_INVESTOR_PASSWORD_REST_UPDATE";
    //修改密码推送平台
    public static final String MT5_USER_RECORD_PASSWORD_UPDATE = "MT5_USER_RECORD_PASSWORD_UPDATE";
    public static final String MT4_USER_RECORD_PASSWORD_UPDATE = "MT4_USER_RECORD_PASSWORD_UPDATE";
    //修改密码回调地址(mq接收)
    public static final String USER_RECORD_PASSWORD_UPDATE_CALLBACK = "USER_RECORD_PASSWORD_UPDATE_CALLBACK";

    //修改货币
    public static final String SYMBOL_UPDATE = "SYMBOL_UPDATE";
    public static final String MT5_UPDATE_SYMBOL = "MT5_UPDATE_SYMBOL";
    public static final String MT4_UPDATE_SYMBOL = "MT4_UPDATE_SYMBOL";
    public static final String UPDATE_SYMBOL_CALLBACK = "UPDATE_SYMBOL_CALLBACK";

    //导入订单
    public static final String IMPORT_TRSDE = "IMPORT_TRSDE";
    public static final String MT4_IMPORT_TRSDE = "MT4_IMPORT_TRSDE";
    public static final String MT5_IMPORT_TRSDE = "MT5_IMPORT_TRSDE";
    public static final String IMPORT_TRSDE_CALLBACK = "IMPORT_TRSDE_CALLBACK";

    //组别杠杆
    public static final String GROUP_LEVERAGE = "GROUP_LEVERAGE";
    public static final String MT4_GROUP_LEVERAGE = "MT4_GROUP_LEVERAGE";
    public static final String MT5_GROUP_LEVERAGE = "MT5_GROUP_LEVERAGE";
    public static final String GROUP_LEVERAGE_CALLBACK = "GROUP_LEVERAGE_CALLBACK";

    //邮件发送
    public static final String EMAIL_SEND = "EMAIL_SEND";
    public static final String EMAIL_SEND_LEVERAGE_RULE = "EMAIL_SEND_LEVERAGE_RULE";
    public static final String MT4_EMAIL_SEND = "MT4_EMAIL_SEND";
    public static final String MT5_EMAIL_SEND = "MT5_EMAIL_SEND";
    public static final String EMAIL_SEND_CALLBACK = "EMAIL_SEND_CALLBACK";

    //强制平仓
    public static final String CLOSE_USER_TRADES = "CLOSE_USER_TRADES";
    public static final String MT5_CLOSE_USER_TRADES = "MT5_CLOSE_USER_TRADES";
    public static final String MT4_CLOSE_USER_TRADES = "MT4_CLOSE_USER_TRADES";
    public static final String CLOSE_USER_TRADES_CALLBACK = "CLOSE_USER_TRADES_CALLBACK";

    //demo修改symbol
    public static final String DEMO_SYMBOL_UPDATE = "DEMO_SYMBOL_UPDATE";
    public static final String MT5_DEMO_UPDATE_SYMBOL = "MT5_DEMO_UPDATE_SYMBOL";
    public static final String MT4_DEMO_UPDATE_SYMBOL = "MT4_DEMO_UPDATE_SYMBOL";
    public static final String DEMO_UPDATE_SYMBOL_CALLBACK = "DEMO_UPDATE_SYMBOL_CALLBACK";

    //demo导入订单
    public static final String DEMO_IMPORT_TRSDE = "DEMO_IMPORT_TRSDE";
    public static final String MT5_DEMO_IMPORT_TRSDE = "MT5_DEMO_IMPORT_TRSDE";
    public static final String MT4_DEMO_IMPORT_TRSDE = "MT4_DEMO_IMPORT_TRSDE";
    public static final String DEMO_IMPORT_TRSDE_CALLBACK = "DEMO_IMPORT_TRSDE_CALLBACK";

    public static final String DEMO_TRADE_TRANS_INFO = "DEMO_TRADE_TRANS_INFO";
    public static final String MT5_DEMO_TRADE_TRANS_INFO = "MT5_DEMO_TRADE_TRANS_INFO";
    public static final String MT4_DEMO_TRADE_TRANS_INFO = "MT4_DEMO_TRADE_TRANS_INFO";
    public static final String DEMO_TRADE_TRANS_INFO_CALLBACK = "DEMO_TRADE_TRANS_INFO_CALLBACK";

    public static final String DEMO_USER_RECORD_CREATE = "DEMO_USER_RECORD_CREATE";
    public static final String MT5_DEMO_USER_RECORD_CREATE = "MT5_DEMO_USER_RECORD_CREATE";
    public static final String MT4_DEMO_USER_RECORD_CREATE = "MT4_DEMO_USER_RECORD_CREATE";
    public static final String DEMO_USER_RECORD_CREATE_CALLBACK = "DEMO_USER_RECORD_CREATE_CALLBACK";

    public static final String DEMO_USER_RECORD_UPDATE = "DEMO_USER_RECORD_UPDATE";
    public static final String MT5_DEMO_USER_RECORD_UPDATE = "MT5_DEMO_USER_RECORD_UPDATE";
    public static final String MT4_DEMO_USER_RECORD_UPDATE = "MT4_DEMO_USER_RECORD_UPDATE";
    public static final String DEMO_USER_RECORD_UPDATE_CALLBACK = "DEMO_USER_RECORD_UPDATE_CALLBACK";

    public static final String MARKET_EMAIL_CALLBACK = "MARKET_EMAIL_CALLBACK";

    public static final String MARKET_EMAIL_PROMO_CODE_CALLBACK = "MARKET_EMAIL_PROMO_CODE_CALLBACK";

    public static final String RISK_BBI_RULE_CALLBACK = "RISK_BBI_RULE_CALLBACK";


    public static final String USER_LEVERAGE_RISK_RULE_INFO = "USER_LEVERAGE_RISK_RULE_INFO";
    //杠杠修改推送平台
    public static final String MT5_USER_LEVERAGE_INFO = "MT5_USER_LEVERAGE_INFO";
    public static final String MT4_USER_LEVERAGE_INFO = "MT4_USER_LEVERAGE_INFO";

    //出入金回调地址(mq接收)
    public static final String USER_LEVERAGE_INFO_CALLBACK = "USER_LEVERAGE_INFO_CALLBACK";

    public static final String WEB_NOTICE_PUT_RECORD = "WEB_NOTICE_PUT_RECORD";

    //</editor-fold>

    // <editor-fold desc="token">

    /**
     * token相关
     */
    public static final String ACCESS_TOKEN = "Access-Token";

    public static final String Feign_Token = "Feign-Token";

    /**
     * 请求头中的标记的语言 en 英文 cn 中文
     */
    public static final String Language = "Language";

    /**
     * token过期时间
     */
    public static final int ACCESS_TOKEN_TIME = 7 * 24 * 60 * 60 * 1000;

    public static final int Feign_Token_TIME = 5 * 60 * 1000;

    //</editor-fold>

    // <editor-fold desc="敏感字过滤匹配规则">

    /**
     * 最小匹配规则
     */
    public static final int MIN_MACH_TYPE = 1;
    /**
     * 最大匹配规则
     */
    public static final int MAX_MACH_TYPE = 2;

    public static final String SENSITIVE_WORD_REDIS = "SENSITIVE_WORD_REDIS";
    //</editor-fold>

    public static final String UPDATE_REDIS_AUTHORITY_IDENTIFICATION = "UPDATE_REDIS_AUTHORITY_IDENTIFICATION";


    public static final String CN_LANG = "cn";

    /**
     * 未申请标识 -1
     */
    public static final Integer NOT_APPLY_STATUS = -1;

    /**
     * 申请为真实客户标识初始状态
     */
    public static final Integer APPLY_REAL_STATUS = 0;

    public static final Integer APPLY_STATUS = 1;

    public static final Integer PASSED_STATUS = 2;

    public static final Integer DELETED_STATUS = 99;

    public static final Integer REJECTED_STATUS = 3;

    //重新上传状态
    public static final Integer UPLOAD_STATUS = 4;


    //和manager处理的三种状态 0:待处理 1处理中 2处理完成
    public static final Integer MANAGER_PENDING_STATUS = 0;

    public static final Integer MANAGER_PROCESSING_STATUS = 1;

    public static final Integer MANAGER_COMPLETED_STATUS = 2;
    public static final Integer MANAGER_FAIL_STATUS = 3;
    //1:系统自动入金方式 2:人工入金方式
    public static final int OPERATION_TYPE_AUTOMATIC = 1;

    public static final int OPERATION_TYPE_MANUAL = 2;

    //入(出)金回调的三种状态 0入(出)金中 1入(出)金成功 2 入(出)金失败
    public static final Integer CALLBACE_PROCESSING_STATUS = 0;

    public static final Integer CALLBACE_SUCCESS_STATUS = 1;

    public static final Integer CALLBACE_FAIL_STATUS = 2;

    public static final Integer MANAGER_PASSWORD_TYPE_MASTER_CHANGE = 1;

    public static final Integer MANAGER_PASSWORD_TYPE_MASTER_REST = 2;

    public static final Integer MANAGER_PASSWORD_TYPE_INVESTOR_CHANGE = 3;

    public static final String MT4 = "MT4";

    public static final String MT5 = "MT5";

    public static final Integer NOTIFICATION_OBJECT_SYSTEM = 1;

    public static final Integer NOTIFICATION_OBJECT_CUSTOM = 2;
    /**
     * 品种类型返佣标识
     */
    public static final Integer POINT_TYPE_SYMBOL = 1;
    /**
     * 百分比返佣标识
     */
    public static final Integer POINT_TYPE_PERCENT = 2;

    public final static String EMAIL_TYPE_SYSTEM = "SYSTEM";

    public final static String EMAIL_TYPE_COMMON = "COMMON";

    /**
     * MT4用户日数据统计起始时间标识
     */
    public final static String MT4_ACCOUNT_STAMP = "MT4_ACCOUNT_STAMP";
    /**
     * MT5用户日数据统计起始时间标识
     */
    public final static String MT5_ACCOUNT_STAMP = "MT5_ACCOUNT_STAMP";
    /**
     * MT4交易日数据统计起始时间标识
     */
    public final static String MT4_TRADE_STAMP = "MT4_TRADE_STAMP";
    /**
     * MT5交易日数据统计起始时间标识
     */
    public final static String MT5_TRADE_STAMP = "MT5_TRADE_STAMP";
    /**
     * MT4出入金日数据统计起始时间标识
     */
    public final static String MT4_DW_STAMP = "MT4_DW_STAMP";
    /**
     * MT5出入金日数据统计起始时间标识
     */
    public final static String MT5_DW_STAMP = "MT5_DW_STAMP";
    /**
     * MT4出入金日数据统计起始时间标识
     */
    public final static String MT4_DWC_STAMP = "MT4_DWC_STAMP";
    /**
     * MT5出入金日数据统计起始时间标识
     */
    public final static String MT5_DWC_STAMP = "MT5_DWC_STAMP";
    /**
     * 批量新增最大长度
     */
    public final static Integer MAX_INSERT_SIZE = 1000;
    /**
     * 返点信息
     */
    public final static String POINT_KEY = "POINT_KEY";

    public static final String CID_CONTROL_AUTO_NUMBER = "CID_CONTROL_AUTO_NUMBER";
    /**
     * 外佣配置信息
     */
    public final static String SYS_COMMISSION_CONFIG = "SYS_COMMISSION_CONFIG";
    /**
     * 未分配上级的代理公用的公司上级ID
     */
    public final static String COMPANY_ACCOUNT_SUPER = "COMPANY_ACCOUNT_SUPER";

    /**
     * safepay支付类型 -usdt
     */
    public final static String SAFE_PAY_CURRENCY = "USDT";

    public final static Long GROUP_TYPE_COMMON = 1L;

    public final static Long GROUP_TYPE_MAN = 2L;
    public final static Long GROUP_TYPE_PMAN = 9L;

    public final static int CUSTOM_LOGIN_REST_NUMBER = 3;

    public final static Integer CLOSE_FUNCTION_DEPOSIT = 1;

    public final static Integer CLOSE_FUNCTION_WITHDRAW = 2;

    public final static Integer CLOSE_FUNCTION_TRANSFER = 3;

    /**
     * MT4交易日数据统计起始时间标识
     */
    public final static String MT4_TRADE_SHARDING_STAMP = "MT4_TRADE_SHARDING_STAMP";
    /**
     * MT5交易日数据统计起始时间标识
     */
    public final static String MT5_TRADE_SHARDING_STAMP = "MT5_TRADE_SHARDING_STAMP";

    public static final Integer MARKET_PENDING_STATUS = 0;

    public static final Integer MARKET_PROCESSING_STATUS = 1;

    public static final Integer MARKET_COMPLETED_STATUS = 2;

    public static final Integer MARKET_FAIL_STATUS = 3;

    public static final Integer MARKET_UNSUBSCRIBE_STATUS = 4;

    public static final Integer MARKET_PROMO_CODE_PENDING_STATUS = 0;

    public static final Integer MARKET_PROMO_CODE_PROCESSING_STATUS = 1;

    public static final Integer MARKET_PROMO_CODE_COMPLETED_STATUS = 2;

    public static final Integer MANAGER_BALANCE = 1;
    public static final Integer MANAGER_CREDIT = 2;

    /**
     * 信用是否可亏损 否
     */
    public static final Integer CREDIT_LOSS_NO = 0;

    /**
     * 信用是否可亏损 是
     */
    public static final Integer CREDIT_LOSS_YES = 1;

    public static final String SHOP_SHOW_CODE = "SHOP_SHOW";

    public static final String MAM_CLOSE_FUNCTION = "MAM_CLOSE_FUNCTION";
}