| | |
| | | package com.yeshi.fanli.entity.bus.homemodule;
|
| | |
|
| | | 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 com.yeshi.fanli.entity.system.System;
|
| | |
|
| | | /**
|
| | | * 专题对应启用系统
|
| | | * |
| | | * @author yj
|
| | | *
|
| | | * @date 2018年11月08日
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_super_special_card")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_super_special_card")
|
| | | public class SuperSpecialCard implements Serializable {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | | @Id
|
| | | @Column(name = "sp_id")
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @org.yeshi.utils.mybatis.Column(name = "sp_id")
|
| | | private Long id;
|
| | |
|
| | | // 专题管理
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sp_special_cid")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sp_special_cid")
|
| | | private SpecialCard specialCard;
|
| | |
|
| | | // 系统
|
| | | @ManyToOne(fetch = FetchType.EAGER)
|
| | | @JoinColumn(name = "sp_system_id")
|
| | | @org.yeshi.utils.mybatis.Column(name = "sp_system_id")
|
| | | private System system;
|
| | | |
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public SpecialCard getSpecialCard() {
|
| | | return specialCard;
|
| | | }
|
| | |
|
| | | public void setSpecialCard(SpecialCard specialCard) {
|
| | | this.specialCard = specialCard;
|
| | | }
|
| | |
|
| | | public System getSystem() {
|
| | | return system;
|
| | | }
|
| | |
|
| | | public void setSystem(System system) {
|
| | | this.system = system;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.homemodule; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.yeshi.fanli.entity.system.BusinessSystem; |
| | | |
| | | /** |
| | | * 专题对应启用系统 |
| | | * |
| | | * @author yj |
| | | * |
| | | * @date 2018年11月08日 |
| | | */ |
| | | @Table("yeshi_ec_super_special_card") |
| | | public class SuperSpecialCard implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @Column(name = "sp_id") |
| | | private Long id; |
| | | |
| | | // 专题管理 |
| | | @Column(name = "sp_special_cid") |
| | | private SpecialCard specialCard; |
| | | |
| | | // 系统 |
| | | @Column(name = "sp_system_id") |
| | | private BusinessSystem system; |
| | | |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public SpecialCard getSpecialCard() { |
| | | return specialCard; |
| | | } |
| | | |
| | | public void setSpecialCard(SpecialCard specialCard) { |
| | | this.specialCard = specialCard; |
| | | } |
| | | |
| | | public BusinessSystem getSystem() { |
| | | return system; |
| | | } |
| | | |
| | | public void setSystem(BusinessSystem system) { |
| | | this.system = system; |
| | | } |
| | | |
| | | } |