yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendSpecial.java
@@ -2,15 +2,8 @@
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.JumpDetail;
@@ -20,62 +13,53 @@
 * @author Administrator
 *
 */
@Entity
@Table(name = "yeshi_ec_recommend_special")
@Table("yeshi_ec_recommend_special")
public class RecommendSpecial implements Serializable{
   /**
    * 
    */
   private static final long serialVersionUID = 1L;
   
   @Id
   @GeneratedValue(strategy = GenerationType.AUTO)
   @Column(name = "id")
   private long id;
   @Column(length = 256)
   private Long id;
   @Column(name = "picture")
   private String picture;
   @Column(name = "`name`", length = 50)
   @Column(name = "name")
   private String name;
   @Column(name = "`tag`", length = 50)
   @Column(name = "tag")
   private String tag;
   private int orderby;
   @ManyToOne(fetch = FetchType.EAGER)
   @JoinColumn(name = "jumpid")
   @Column(name = "orderby")
   private Integer orderby;
   @Column(name = "jumpid")// "`params`
   private JumpDetail jumpDetail;// 跳转详情
   @Column(name = "`params`", length = 128)
   @Column(name = "params")
   private String params;
   @Column(name = "`show`")
   @Column(name = "show")
   private boolean show;
   private long createtime;
   @Column(name = "createtime")
   private Long createtime;
   
   public RecommendSpecial() {
      // TODO Auto-generated constructor stub
   }
   
   public RecommendSpecial(long id) {
   public RecommendSpecial(Long id) {
      super();
      this.id = id;
   }
   public RecommendSpecial(String picture, String name, String tag,
         int orderby, JumpDetail jumpDetail, String params, boolean show,
         long createtime) {
      super();
      this.picture = picture;
      this.name = name;
      this.tag = tag;
      this.orderby = orderby;
      this.jumpDetail = jumpDetail;
      this.params = params;
      this.show = show;
      this.createtime = createtime;
   }
   public long getId() {
   public Long getId() {
      return id;
   }
   public void setId(long id) {
   public void setId(Long id) {
      this.id = id;
   }
@@ -103,11 +87,11 @@
      this.tag = tag;
   }
   public int getOrderby() {
   public Integer getOrderby() {
      return orderby;
   }
   public void setOrderby(int orderby) {
   public void setOrderby(Integer orderby) {
      this.orderby = orderby;
   }
@@ -135,12 +119,11 @@
      this.show = show;
   }
   public long getCreatetime() {
   public Long getCreatetime() {
      return createtime;
   }
   public void setCreatetime(long createtime) {
   public void setCreatetime(Long createtime) {
      this.createtime = createtime;
   }
}