From 993ba7fa7b7ab969df89a088a2889735a46fdb84 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 12 Mar 2023 13:44:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E7=B1=BB=E4=B8=8D=E5=85=81?= =?UTF-8?q?=E8=AE=B8=E7=BB=A7=E6=89=BF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/xyz/zhouxy/plusone/constant/EntityStatus.java | 2 +- .../plusone/system/domain/model/account/AccountStatus.java | 2 +- .../xyz/zhouxy/plusone/system/domain/model/account/Sex.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plusone-basic/plusone-basic-domain/src/main/java/xyz/zhouxy/plusone/constant/EntityStatus.java b/plusone-basic/plusone-basic-domain/src/main/java/xyz/zhouxy/plusone/constant/EntityStatus.java index 77c9e19..d8d3501 100644 --- a/plusone-basic/plusone-basic-domain/src/main/java/xyz/zhouxy/plusone/constant/EntityStatus.java +++ b/plusone-basic/plusone-basic-domain/src/main/java/xyz/zhouxy/plusone/constant/EntityStatus.java @@ -7,7 +7,7 @@ import xyz.zhouxy.plusone.commons.util.Enumeration; * * @author ZhouXY */ -public class EntityStatus extends Enumeration { +public final class EntityStatus extends Enumeration { private EntityStatus(int value, String name) { super(value, name); diff --git a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/AccountStatus.java b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/AccountStatus.java index 4ee846d..f49ad82 100644 --- a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/AccountStatus.java +++ b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/AccountStatus.java @@ -10,7 +10,7 @@ import xyz.zhouxy.plusone.domain.IValueObject; * @author ZhouXY */ @Getter -public class AccountStatus extends Enumeration implements IValueObject { +public final class AccountStatus extends Enumeration implements IValueObject { private AccountStatus(int value, String name) { super(value, name); diff --git a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Sex.java b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Sex.java index e7d5117..2430bbc 100644 --- a/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Sex.java +++ b/plusone-system/plusone-system-domain/src/main/java/xyz/zhouxy/plusone/system/domain/model/account/Sex.java @@ -10,7 +10,7 @@ import xyz.zhouxy.plusone.domain.IValueObject; * * @author ZhouXY */ -public class Sex extends Enumeration implements IValueObject { +public final class Sex extends Enumeration implements IValueObject { @Nonnull public static final Sex UNSET = new Sex(0, "未设置"); @Nonnull