From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java | 252 ++++++++++++++++++++++++-------------------------- 1 files changed, 120 insertions(+), 132 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java index fa5e38e..0c982c8 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/recommend/RecommendBannerV2.java @@ -1,132 +1,120 @@ -package com.yeshi.fanli.entity.bus.recommend; - -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 com.yeshi.fanli.entity.common.JumpDetailV2; - -//鎺ㄨ崘Banner v.2 -@Entity -@Table(name = "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) { - super(); - this.jumpDetail = jumpDetail; - this.params = params; - this.picture = picture; - this.createtime = createtime; - this.orderby = orderby; - this.show = show; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public boolean isShow() { - return show; - } - - public void setShow(boolean show) { - this.show = show; - } - - public long getId() { - return id; - } - - public void setId(long id) { - this.id = id; - } - - public JumpDetailV2 getJumpDetail() { - return jumpDetail; - } - - public void setJumpDetail(JumpDetailV2 jumpDetail) { - this.jumpDetail = jumpDetail; - } - - public String getParams() { - return params; - } - - public void setParams(String params) { - this.params = params; - } - - public String getPicture() { - return picture; - } - - public void setPicture(String picture) { - this.picture = picture; - } - - public long getCreatetime() { - return createtime; - } - - public void setCreatetime(long createtime) { - this.createtime = createtime; - } - - public int getOrderby() { - return orderby; - } - - public void setOrderby(int orderby) { - this.orderby = orderby; - } -} +package com.yeshi.fanli.entity.bus.recommend; + +import java.io.Serializable; + +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.yeshi.fanli.entity.common.JumpDetailV2; + +//鎺ㄨ崘Banner v.2 +@Table("yeshi_ec_recommend_banner_v2") +public class RecommendBannerV2 implements Serializable { + /** + * + */ + private static final long serialVersionUID = 1L; + + @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; + this.picture = picture; + 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() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPicture() { + return picture; + } + + public void setPicture(String picture) { + this.picture = picture; + } + + public JumpDetailV2 getJumpDetail() { + return jumpDetail; + } + + public void setJumpDetail(JumpDetailV2 jumpDetail) { + this.jumpDetail = jumpDetail; + } + + public String getParams() { + return params; + } + + public void setParams(String params) { + this.params = params; + } + + public Long getCreatetime() { + return createtime; + } + + public void setCreatetime(Long createtime) { + this.createtime = createtime; + } + + public Integer getOrderby() { + return orderby; + } + + public void setOrderby(Integer orderby) { + this.orderby = orderby; + } + + public boolean isShow() { + return show; + } + + public void setShow(boolean show) { + this.show = show; + } + +} -- Gitblit v1.8.0