| | |
| | | import javax.persistence.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.recommend.RecommendSection;
|
| | | import com.yeshi.fanli.entity.system.System;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | |
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_super_recommendsection")
|
| | |
| | | private RecommendSection recommendSection;
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "system_id")
|
| | | private System system;
|
| | | private BusinessSystem system;
|
| | |
|
| | | public SuperRecommendSection() {
|
| | | // TODO Auto-generated constructor stub
|
| | | }
|
| | |
|
| | | public SuperRecommendSection(RecommendSection recommendSection,
|
| | | System system) {
|
| | | public SuperRecommendSection(RecommendSection recommendSection, BusinessSystem system) {
|
| | | super();
|
| | | this.recommendSection = recommendSection;
|
| | | this.system = system;
|
| | |
| | | this.recommendSection = recommendSection;
|
| | | }
|
| | |
|
| | | public System getSystem() {
|
| | | public BusinessSystem getSystem() {
|
| | | return system;
|
| | | }
|
| | |
|
| | | public void setSystem(System system) {
|
| | | public void setSystem(BusinessSystem system) {
|
| | | this.system = system;
|
| | | }
|
| | | }
|