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, }