package com.tofly.base.config;

/**
 * @ClassName: Constant
 * @Description: 常量
 * @Author Zev
 * @Date 2021/3/18
 * @Version 1.0.0
 */
public class Constant {
    public static final String CSV = ",";
    public static int COMPANY_NAME_IS_EMPTY_CODE = 20101;
    public static String COMPANY_NAME_IS_EMPTY = "单位名称为空";

    public static int CURRENT_UNIT_ALREADY_EXISTS_CODE = 20102;
    public static String CURRENT_UNIT_ALREADY_EXISTS = "当前单位已存在";

    public static int COMPANY_EXISTING_CHILD_CODE = 20103;
    public static String COMPANY_EXISTING_CHILD = "当前单位下还存在子集";

    public static int PARENT_RELATIONSHIP_CANNOT_MODIFIED_CODE = 20104;
    public static String PARENT_RELATIONSHIP_CANNOT_MODIFIED = "不能修改总公司上下级关系";

    public static int PARENT_RELATIONSHIP_CANNOT_DISABLE_CODE = 20105;
    public static String PARENT_RELATIONSHIP_CANNOT_DISABLE = "不能禁用总公司";

    public static int DEPARTMENT_NAME_COMPANY_IS_EMPTY_CODE = 20201;
    public static String DEPARTMENT_NAME_COMPANY_IS_EMPTY = "部门名称为空或未绑定单位";

    public static int CURRENT_DEPARTMENT_ALREADY_EXISTS_CODE = 20202;
    public static String CURRENT_DEPARTMENT_ALREADY_EXISTS = "当前部门已存在";

    public static int DEPARTMENT_EXISTING_CHILD_CODE = 20203;
    public static String DEPARTMENT_EXISTING_CHILD = "当前部门下还存在子集";

    public static final String OPERATE_OS_WINDOW = "windows";

    public static final String OPERATE_OS_LINUX = "linux";

}
