mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-02-20 19:20:32 +08:00
fix: 删除 SexEnum.UNSPECIFIED, 并将 UNKNOWN 的值同步为数据库中 member_user.sex 字段的默认值 0
This commit is contained in:
parent
0c99c16989
commit
3da7885514
@ -11,14 +11,12 @@ import lombok.Getter;
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum SexEnum {
|
||||
/** 未定义 */
|
||||
UNSPECIFIED(0),
|
||||
/** 男 */
|
||||
MALE(1),
|
||||
/** 女 */
|
||||
FEMALE(2),
|
||||
/* 未知 */
|
||||
UNKNOWN(3);
|
||||
UNKNOWN(0);
|
||||
|
||||
/**
|
||||
* 性别
|
||||
|
Loading…
Reference in New Issue
Block a user