新增:新增修改基础信息 API(优化 Jackson 针对通用枚举接口 IEnum 的序列化和反序列化)

This commit is contained in:
2023-01-09 22:41:09 +08:00
parent 5252c54c48
commit 76fb698a37
21 changed files with 442 additions and 140 deletions

View File

@@ -65,7 +65,7 @@ public class UserInfoVO implements Serializable {
/**
* 性别0未知 1男 2女
*/
@Schema(description = "性别0未知 1男 2女")
@Schema(description = "性别0未知 1男 2女", type = "Integer", allowableValues = {"0", "1", "2"})
private GenderEnum gender;
/**