| | |
| | |
|
| | | 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.bus.recommend.RecommendBanner;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_super_recommendbanner")
|
| | | public class SuperRecommendBanner implements Serializable{
|
| | | @Table("yeshi_ec_super_recommendbanner")
|
| | | public class SuperRecommendBanner implements Serializable {
|
| | | /**
|
| | | *
|
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | | |
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | private static final Long serialVersionUID = 1L;
|
| | |
|
| | | @Column(name = "id")
|
| | | private long id;
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "recommendbanner_id")
|
| | | private Long id;
|
| | | @Column(name = "recommendbanner_id")
|
| | | private RecommendBanner recommendBanner;
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "system_id")
|
| | | @Column(name = "system_id")
|
| | | private BusinessSystem system;
|
| | |
|
| | | public SuperRecommendBanner() {
|
| | | }
|
| | | |
| | |
|
| | | public SuperRecommendBanner(RecommendBanner recommendBanner, BusinessSystem system) {
|
| | | super();
|
| | | this.recommendBanner = recommendBanner;
|
| | | this.system = system;
|
| | | }
|
| | |
|
| | | public long getId() {
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(long id) {
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|