| | |
| | | package com.yeshi.fanli.entity.taobao;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | 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 javax.persistence.Transient;
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
|
| | | @Entity
|
| | | @Table(name="yeshi_ec_taobao_link")
|
| | | @Table("yeshi_ec_taobao_link")
|
| | | public class TaoBaoLink {
|
| | | /**
|
| | | * 淘宝ID
|
| | | */
|
| | | @Id
|
| | | @GeneratedValue(strategy=GenerationType.AUTO)
|
| | | @Column(name="id")
|
| | | private Long id;
|
| | |
|
| | | @Column(name="auctionId")
|
| | | private Long auctionId;
|
| | |
|
| | | @ManyToOne
|
| | | @JoinColumn(name="sid")
|
| | | @Column(name="sid")
|
| | | private BusinessSystem system;
|
| | |
|
| | | /**
|
| | | * 淘宝token
|
| | | */
|
| | | @Column(name="taoToken",length=50)
|
| | | @Column(name="taoToken")
|
| | | private String taoToken;
|
| | |
|
| | | /**
|
| | | * 淘宝券链�? |
| | | */
|
| | | @Column(name="couponLink",length=512,insertable=true)
|
| | | @Column(name="couponLink")
|
| | | private String couponLink;
|
| | |
|
| | | /**
|
| | | * 淘宝推广链接
|
| | | */
|
| | | @Column(name="clickUrl",length=512)
|
| | | @Column(name="clickUrl")
|
| | | private String clickUrl;
|
| | | |
| | |
|
| | | @Transient
|
| | |
|
| | | private TaoBaoGoodsBrief goods;
|
| | |
|
| | | public TaoBaoGoodsBrief getGoods() {
|