| | |
| | | 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")
|
| | |
| | | @Column(name = "fa_type")
|
| | | private Integer type;
|
| | |
|
| | | @Column(name = "fa_type_enum")
|
| | | private FloatADTypeEnum typeEnum;
|
| | | |
| | | // 启用状态
|
| | | @Column(name = "fa_state")
|
| | | private Integer state;
|
| | |
| | | // 结束时间
|
| | | private String endTime_str;
|
| | |
|
| | | // 结束时间
|
| | | private String typeName;
|
| | |
|
| | |
|
| | | public Long getId() {
|
| | |
| | | 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;
|
| | | }
|
| | |
|
| | | }
|