admin
2020-04-13 dd5b15229cb15459fa7c31ccea77dac28cbfafbd
fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/HomeNavbar.java
@@ -2,13 +2,11 @@
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.entity.system.BusinessSystem;
/**
 * 导航管理
@@ -20,13 +18,10 @@
@Table("yeshi_ec_home_navbar")
public class HomeNavbar implements Serializable{
   /**
    *
    */
   private static final long serialVersionUID = 1L;
   public enum NavbarTypeEnum {
      category("分类"), weex("阿里百川"), web("网页");
      category("分类"), weex("阿里百川"), web("网页") , commonTemplate("通用模板");
      private final String desc;
      private NavbarTypeEnum(String desc) {
@@ -38,7 +33,7 @@
      }
   }
   
   @Expose
   @Column(name = "br_id")
   private Long id;
@@ -75,6 +70,13 @@
   // 排序
   @Column(name = "br_orderby")
   private Integer orderby;
   // 排序
   @Column(name = "br_order_man")
   private Integer orderMan;
   // 排序
   @Column(name = "br_order_woman")
   private Integer orderWoman;
   //起始时间
   @Column(name = "br_start_time")
@@ -87,6 +89,14 @@
   // 状态:1启用 0 停用
   @Column(name = "br_state")
   private Integer state; 
   // 是否默认: 0 非默认 1 默认项
   @Column(name = "br_is_default")
   private Boolean isDefault;
   // 固定项:0  非固定  1 固定
   @Column(name = "br_is_fixed")
   private Boolean isFixed;
   
   // 创建时间
   @Column(name = "br_createtime")
@@ -96,6 +106,10 @@
   @Column(name = "br_updatetime")
   private Date updatetime;
   
   // 跳转参数 json 字符串
   @Expose
   @Column(name = "br_params")
   private String params;
   
   // 是否定时
   private boolean timeTask;
@@ -103,9 +117,21 @@
   private String startTime_str;
   // 结束时间
   private String endTime_str;
   // 系统关联列表
   private List<BusinessSystem> systemList;
   // 轮播名字
   private String swiperName;
   // 分类名称
   private String className;
   private Integer sex;
   public HomeNavbar() {}
   public HomeNavbar(Long id) {
      this.id = id;
   }
   
   public Long getId() {
      return id;
@@ -235,12 +261,69 @@
      this.endTime_str = endTime_str;
   }
   public List<BusinessSystem> getSystemList() {
      return systemList;
   public String getSwiperName() {
      return swiperName;
   }
   public void setSystemList(List<BusinessSystem> systemList) {
      this.systemList = systemList;
   public void setSwiperName(String swiperName) {
      this.swiperName = swiperName;
   }
   public String getClassName() {
      return className;
   }
   public void setClassName(String className) {
      this.className = className;
   }
   public Boolean getIsDefault() {
      return isDefault;
   }
   public void setIsDefault(Boolean isDefault) {
      this.isDefault = isDefault;
   }
   public Boolean getIsFixed() {
      return isFixed;
   }
   public void setIsFixed(Boolean isFixed) {
      this.isFixed = isFixed;
   }
   public Integer getSex() {
      return sex;
   }
   public void setSex(Integer sex) {
      this.sex = sex;
   }
   public Integer getOrderMan() {
      return orderMan;
   }
   public void setOrderMan(Integer orderMan) {
      this.orderMan = orderMan;
   }
   public Integer getOrderWoman() {
      return orderWoman;
   }
   public void setOrderWoman(Integer orderWoman) {
      this.orderWoman = orderWoman;
   }
   public String getParams() {
      return params;
   }
   public void setParams(String params) {
      this.params = params;
   }
}