package com.kexue.skills.common;

import java.util.Arrays;
import java.util.List;

public interface Const {

    String FILE_UPLOAD_DIR = "/data/service/hyxp-portal/upload/file/";
    String IMG_UPLOAD_DIR = "/data/service/hyxp-portal/upload/images/";
    Integer LOGIN_USER_NOT_FOUND_ERROR = 1;
    Integer LOGIN_PASSWOR_ERROR = 2;
    Integer LOGIN_SUCCESS = 3;


    //用户状态
    Integer USER_STATUS_NORMAL = 1;
    Integer USER_STATUS_DISABLED = 2;

    //是否删除
    Integer DELETE_FLAG_YES = 1;

    Integer DELETE_FLAG_NO = 0;
    List<String> ADMIN_USER_LIST = Arrays.asList("admin","administrator","super","root","boss");

    Double TONE_TO_LITERS = 1210d;
    Integer PURCHASE_TYPE_LAST_MONTH_REMAINING = 0;
    Integer PURCHASE_TYPE_CURRENT_MONTH_PURCHASE = 1;
    Integer PURCHASE_STATUS_NOT_SELL_OUT = 0;//未卖完
    Integer PURCHASE_STATUS_SELL_OUT = 2;//卖完   1采购完成、2售卖完成
    Integer IS_RECEIVED_YES = 1;
    Integer IS_RECEIVED_NO = 0;
    Integer PAYMENT_TYPE_SM = 1; //扫码支付
    Integer ACCOUNT_STATUS_ACCOUNTED = 1;//已扎帐
    Integer ACCOUNT_STATUS_UNACCOUNTED = 2; //未扎帐
}
