| | |
| | | import javax.persistence.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.recommend.RecommendBanner;
|
| | | import com.yeshi.fanli.entity.system.System;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_super_recommendbanner")
|
| | |
| | | private RecommendBanner recommendBanner;
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "system_id")
|
| | | private System system;
|
| | | private BusinessSystem system;
|
| | |
|
| | | public SuperRecommendBanner() {
|
| | | }
|
| | |
|
| | | public SuperRecommendBanner(RecommendBanner recommendBanner, System system) {
|
| | | public SuperRecommendBanner(RecommendBanner recommendBanner, BusinessSystem system) {
|
| | | super();
|
| | | this.recommendBanner = recommendBanner;
|
| | | this.system = system;
|
| | |
| | | this.recommendBanner = recommendBanner;
|
| | | }
|
| | |
|
| | | public System getSystem() {
|
| | | public BusinessSystem getSystem() {
|
| | | return system;
|
| | | }
|
| | |
|
| | | public void setSystem(System system) {
|
| | | public void setSystem(BusinessSystem system) {
|
| | | this.system = system;
|
| | | }
|
| | | }
|