package cn.iocoder.yudao.framework.common;

import java.time.format.DateTimeFormatter;

public class Constants {
    /**
     * 空字符串
     */
    public static final String EMPTY_STRING = "";

    /**
     * 下划线
     */
    public static final String UNDERLINE = "_";

    /**
     * 逗号
     */
    public static final String COMMA = ",";
    /**
     * 是否 0否 1是
     */
    public static final Integer FALSE = 0;
    public static final Integer TRUE = 1;


    public static final String TRUE_STR = "true";



    /**
     * 考勤前缀
     */
    public static final String ATTENDANCE = "attendance";

    /**
     * 排班制前缀
     */
    public static final String SCHEDULING = "scheduling";
    /**
     * 零
     */
    public static final Integer ZERO = 0;
    /**
     * 一
     */
    public static final Integer ONE = 1;
    /**
     * 二
     */
    public static final Integer TWO = 2;
    /**
     * 三
     */
    public static final Integer THREE = 3;
    /**
     * 中文1
     */
    public static final String ONE_STR = "1";

    /**
     * yyyy-MM-dd格式
     */
    public static final DateTimeFormatter REPO_DATE_FORMAT = DateTimeFormatter.ofPattern("yyyy-MM-dd");
    /**
     * 年月格式
     */
    public static final DateTimeFormatter YEAR_MONTH_FORMAT = DateTimeFormatter.ofPattern("yyyy-MM");
    /**
     * yyyy-MM-dd HH:mm:ss格式
     */
    public static final DateTimeFormatter FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
}
