팝업 타입 수정

This commit is contained in:
byung eun park 2019-10-26 18:05:16 +09:00
parent bb1f00d233
commit 8d9e5f52f2
2 changed files with 10 additions and 7 deletions

View File

@ -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;
}

View File

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