yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
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;
   }
}