forked from fanruan/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
547 B
34 lines
547 B
4 years ago
|
package com.alibaba.excel.enums;
|
||
|
|
||
|
import lombok.Getter;
|
||
|
|
||
|
/**
|
||
|
* Default values cannot be used for annotations.
|
||
|
* So an additional an enumeration to determine whether the user has added the enumeration.
|
||
|
*
|
||
|
* @author Jiaju Zhuang
|
||
|
*/
|
||
|
@Getter
|
||
|
public enum BooleanEnum {
|
||
|
/**
|
||
|
* NULL
|
||
|
*/
|
||
|
DEFAULT(null),
|
||
|
/**
|
||
|
* TRUE
|
||
|
*/
|
||
|
TRUE(Boolean.TRUE),
|
||
|
/**
|
||
|
* FALSE
|
||
|
*/
|
||
|
FALSE(Boolean.FALSE),
|
||
|
;
|
||
|
|
||
|
Boolean booleanValue;
|
||
|
|
||
|
BooleanEnum(Boolean booleanValue) {
|
||
|
this.booleanValue = booleanValue;
|
||
|
}
|
||
|
|
||
|
}
|