From 8d9e5f52f2c58c4ed65baa7f38b009998bf7c484 Mon Sep 17 00:00:00 2001 From: byung eun park Date: Sat, 26 Oct 2019 18:05:16 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=9D=EC=97=85=20=ED=83=80=EC=9E=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/info/entity/PopupConfigEntity.java | 5 ++++- .../server/modules/info/type/EffectStateName.java | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/totopia/server/modules/info/entity/PopupConfigEntity.java b/src/main/java/com/totopia/server/modules/info/entity/PopupConfigEntity.java index bfc9cfb..3a4413c 100644 --- a/src/main/java/com/totopia/server/modules/info/entity/PopupConfigEntity.java +++ b/src/main/java/com/totopia/server/modules/info/entity/PopupConfigEntity.java @@ -1,6 +1,7 @@ package com.totopia.server.modules.info.entity; import com.totopia.server.commons.data.entity.UserDateAuditEntity; +import com.totopia.server.modules.info.type.EffectStateName; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -49,5 +50,7 @@ public class PopupConfigEntity extends UserDateAuditEntity { @Column(name = "open_status", nullable = false) private Boolean openStatus = false; - + @Enumerated(EnumType.STRING) + @Column(name = "effect_type", length = 60) + private EffectStateName effectType; } diff --git a/src/main/java/com/totopia/server/modules/info/type/EffectStateName.java b/src/main/java/com/totopia/server/modules/info/type/EffectStateName.java index 7b181f8..eb1b94c 100644 --- a/src/main/java/com/totopia/server/modules/info/type/EffectStateName.java +++ b/src/main/java/com/totopia/server/modules/info/type/EffectStateName.java @@ -1,10 +1,10 @@ package com.totopia.server.modules.info.type; public enum EffectStateName { - EFFECT_LIFT_TO_RIGHT, - EFFECT_RIGHT_TO_LEFT, - EFFECT_TOP_TO_BOTTOM, - EFFECT_BOTTOM_TO_TOP, - EFFECT_COUNTERCLOCKWISE, - EFFECT_CLOCKWISE, + LIFT_TO_RIGHT, + RIGHT_TO_LEFT, + TOP_TO_BOTTOM, + BOTTOM_TO_TOP, + COUNTERCLOCKWISE, + CLOCKWISE, }