dev
luotaiqian 2026-08-03 09:43:39 +08:00
parent 2dd150bbe7
commit 311fbf6946
1 changed files with 4 additions and 8 deletions

View File

@ -1,5 +1,6 @@
package org.qinan.safetyeval.app.support;
import lombok.Getter;
import org.springframework.util.StringUtils;
/**
@ -7,11 +8,14 @@ import org.springframework.util.StringUtils;
*
* @author safety-eval
*/
@Getter
public enum ImportGenderEnum {
MALE(1, "男", new String[]{"男", "男性"}),
FEMALE(2, "女", new String[]{"女", "女性"});
private final Integer code;
private final String name;
private final String[] aliases;
@ -22,14 +26,6 @@ public enum ImportGenderEnum {
this.aliases = aliases;
}
public Integer getCode() {
return code;
}
public String getName() {
return name;
}
/**
* null
*/