yujian
2019-03-20 1e53e5f28c55ece70b28c752fa318e2fd951e643
fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java
@@ -3,7 +3,6 @@
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
@@ -14,10 +13,6 @@
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Cascade;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;
/**
 * 系统配置参数
@@ -34,7 +29,7 @@
   private long id;
   @ManyToMany(fetch = FetchType.EAGER)
   @JoinTable(name="yeshi_ec_system_systemconfig",joinColumns=@JoinColumn(name="scid",referencedColumnName="id"),inverseJoinColumns=@JoinColumn(name="sid",referencedColumnName="id"))
   private Set<System> systems=new HashSet<System>();
   private Set<BusinessSystem> systems=new HashSet<BusinessSystem>();
   @Column(name = "`key`", length = 50)
   private String key;
   @Column(name = "`value`", length = 1024)
@@ -60,11 +55,11 @@
      this.id = id;
   }
   public Set<System> getSystems() {
   public Set<BusinessSystem> getSystems() {
      return systems;
   }
   public void setSystems(Set<System> systems) {
   public void setSystems(Set<BusinessSystem> systems) {
      this.systems = systems;
   }