yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java
@@ -2,61 +2,48 @@
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.yeshi.fanli.entity.common.JumpDetailV2;
//推荐Banner  v.2
@Entity
@Table(name = "yeshi_ec_recommend_banner_v2")
public class RecommendBannerV2 implements Serializable{
@Table("yeshi_ec_recommend_banner_v2")
public class RecommendBannerV2 implements Serializable {
   /**
    * 
    */
   private static final long serialVersionUID = 1L;
   @Id
   @GeneratedValue(strategy = GenerationType.AUTO)
   @Column(name = "id")
   private long id;
   @Column(name = "`name`")
   private String name;
   @Column(name = "`picture`",length = 256)
   private String picture;// 图片链接
   @ManyToOne(fetch = FetchType.EAGER)
   @JoinColumn(name = "jumpid")
   private JumpDetailV2 jumpDetail;// 跳转详情
   @Column(name = "`params`",length = 256)
   private String params;// 跳转参数
   @Column(name = "`createtime`")
   private long createtime;
   @Column(name = "`orderby`")
   private int orderby;// 值越小越�?
   @Column(name = "`show`")
   private boolean show;// 是否显示
   public RecommendBannerV2() {}
   public RecommendBannerV2(JumpDetailV2 jumpDetail, String params,
         String picture, long createtime, int orderby, boolean show) {
   @Column(name = "id")
   private Long id;
   @Column(name = "name")
   private String name;
   @Column(name = "picture")
   private String picture;// 图片链接
   @Column(name = "jumpid")
   private JumpDetailV2 jumpDetail;// 跳转详情
   @Column(name = "params", length = 256)
   private String params;// 跳转参数
   @Column(name = "createtime")
   private Long createtime;
   @Column(name = "orderby")
   private Integer orderby;// 值越小越�?
   @Column(name = "show")
   private boolean show;// 是否显示
   public RecommendBannerV2() {
   }
   public RecommendBannerV2(JumpDetailV2 jumpDetail, String params, String picture, Long createtime, Integer orderby,
         boolean show) {
      super();
      this.jumpDetail = jumpDetail;
      this.params = params;
@@ -64,6 +51,14 @@
      this.createtime = createtime;
      this.orderby = orderby;
      this.show = show;
   }
   public Long getId() {
      return id;
   }
   public void setId(Long id) {
      this.id = id;
   }
   public String getName() {
@@ -74,20 +69,12 @@
      this.name = name;
   }
   public boolean isShow() {
      return show;
   public String getPicture() {
      return picture;
   }
   public void setShow(boolean show) {
      this.show = show;
   }
   public long getId() {
      return id;
   }
   public void setId(long id) {
      this.id = id;
   public void setPicture(String picture) {
      this.picture = picture;
   }
   public JumpDetailV2 getJumpDetail() {
@@ -106,27 +93,28 @@
      this.params = params;
   }
   public String getPicture() {
      return picture;
   }
   public void setPicture(String picture) {
      this.picture = picture;
   }
   public long getCreatetime() {
   public Long getCreatetime() {
      return createtime;
   }
   public void setCreatetime(long createtime) {
   public void setCreatetime(Long createtime) {
      this.createtime = createtime;
   }
   public int getOrderby() {
   public Integer getOrderby() {
      return orderby;
   }
   public void setOrderby(int orderby) {
   public void setOrderby(Integer orderby) {
      this.orderby = orderby;
   }
   public boolean isShow() {
      return show;
   }
   public void setShow(boolean show) {
      this.show = show;
   }
}