From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/FloatAD.java | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 48 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/FloatAD.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/FloatAD.java index 01c9d48..b9e98e4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/FloatAD.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/FloatAD.java @@ -28,6 +28,21 @@ public static String POSITION_INDEX = "index"; // 灞曠ず浣嶇疆 - 娑堟伅涓績 public static String POSITION_MSGCENTER = "msgCenter"; + + public enum FloatADTypeEnum { + activity("娲诲姩"), newUserRedPack("鏂颁汉绾㈠寘"); + private final String desc; + + private FloatADTypeEnum(String desc) { + this.desc = desc; + } + + public String getDesc() { + return desc; + } + } + + @Column(name = "fa_id") @@ -80,13 +95,19 @@ @Column(name = "fa_order") private Integer order; - // 閫傜敤绫诲瀷 1鏂颁汉 + // 閫傜敤绫诲瀷 锛� 0閫氱敤 1鏂颁汉 @Column(name = "fa_type") private Integer type; + @Column(name = "fa_type_enum") + private FloatADTypeEnum typeEnum; + // 鍚敤鐘舵�� @Column(name = "fa_state") private Integer state; + + @Column(name = "fa_play_sound") + private Boolean playSound;//鏄惁鎾斁闊虫晥 // 鍒涘缓鏃堕棿 @Column(name = "fa_create_time") @@ -101,6 +122,8 @@ // 缁撴潫鏃堕棿 private String endTime_str; + // 缁撴潫鏃堕棿 + private String typeName; public Long getId() { @@ -239,4 +262,28 @@ this.type = type; } + public Boolean getPlaySound() { + return playSound; + } + + public void setPlaySound(Boolean playSound) { + this.playSound = playSound; + } + + public FloatADTypeEnum getTypeEnum() { + return typeEnum; + } + + public void setTypeEnum(FloatADTypeEnum typeEnum) { + this.typeEnum = typeEnum; + } + + public String getTypeName() { + return typeName; + } + + public void setTypeName(String typeName) { + this.typeName = typeName; + } + } -- Gitblit v1.8.0