From c93bdeb8ed528d015865f763dfc240cbad7aa00b Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 05 六月 2024 11:45:08 +0800 Subject: [PATCH] feat:题目表移除分数字段 --- src/main/java/com/ycl/jxkg/domain/enums/UserStatusEnum.java | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/enums/UserStatusEnum.java b/src/main/java/com/ycl/jxkg/domain/enums/UserStatusEnum.java index cba2b24..0766723 100644 --- a/src/main/java/com/ycl/jxkg/domain/enums/UserStatusEnum.java +++ b/src/main/java/com/ycl/jxkg/domain/enums/UserStatusEnum.java @@ -9,10 +9,10 @@ Enable(1, "鍚敤"), Disable(2, "绂佺敤"); - int code; - String name; + private final Integer code; + private final String name; - UserStatusEnum(int code, String name) { + UserStatusEnum(Integer code, String name) { this.code = code; this.name = name; } @@ -29,20 +29,13 @@ return keyMap.get(code); } - public int getCode() { + public Integer getCode() { return code; - } - - public void setCode(int code) { - this.code = code; } public String getName() { return name; } - public void setName(String name) { - this.name = name; - } } -- Gitblit v1.8.0