All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kangaroohy.plugin.excel.annotation.ExcelUniqueFields Maven / Gradle / Ivy

package com.kangaroohy.plugin.excel.annotation;

import java.lang.annotation.*;

/**
 * 类 ExcelUniqueFields 功能描述:
* * @author hy * @version 0.0.1 * @date 2023/9/7 16:23 */ @Documented @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ExcelUniqueFields { /** * 该组内所有字段组合保证唯一性 * * @return */ String[] groupUnique() default {}; /** * 该组内每个字段单独保证唯一,字段之间可以允许重复 * * @return */ String[] singleUnique() default {}; /** * 空值不做校验,false时 null 也会当成值的一种参与校验 * * @return */ boolean skipNull() default true; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy