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