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 | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 60 insertions(+), 0 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 8e18410..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 @@ -26,7 +26,24 @@ // 灞曠ず浣嶇疆 -棣栭〉 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") private Long id; @@ -77,10 +94,20 @@ // 鎺掑簭-浼樺厛鏉� @Column(name = "fa_order") private Integer order; + + // 閫傜敤绫诲瀷 锛� 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") @@ -95,6 +122,8 @@ // 缁撴潫鏃堕棿 private String endTime_str; + // 缁撴潫鏃堕棿 + private String typeName; public Long getId() { @@ -224,6 +253,37 @@ public void setEndTime_str(String endTime_str) { this.endTime_str = endTime_str; } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + 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