From 554de444b87aab5f93cb1593a8095612cf9479a7 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期二, 09 六月 2020 17:34:30 +0800
Subject: [PATCH] 订单

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/SuperSpecial.java |   34 +++++++++-------------------------
 1 files changed, 9 insertions(+), 25 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/SuperSpecial.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/SuperSpecial.java
index a27df18..ba436ae 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/SuperSpecial.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/homemodule/SuperSpecial.java
@@ -2,17 +2,10 @@
 
 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 org.yeshi.utils.mybatis.Column;
+import org.yeshi.utils.mybatis.Table;
 
-import com.yeshi.fanli.entity.system.System;
+import com.yeshi.fanli.entity.system.BusinessSystem;
 
 /**
  * 涓撻瀵瑰簲鍚敤绯荤粺
@@ -21,30 +14,21 @@
  *
  * @date 2018骞�10鏈�23鏃�
  */
-@Entity
-@Table(name = "yeshi_ec_super_special")
-@org.yeshi.utils.mybatis.Table("yeshi_ec_super_special")
+@Table("yeshi_ec_super_special")
 public class SuperSpecial implements Serializable {
 
 	private static final long serialVersionUID = 1L;
 
-	@Id
 	@Column(name = "sup_id")
-	@GeneratedValue(strategy = GenerationType.AUTO)
-	@org.yeshi.utils.mybatis.Column(name = "sup_id")
 	private Long id;
 
 	// 鍚嶇О
-	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "sup_special_id")
-	@org.yeshi.utils.mybatis.Column(name = "sup_special_id")
+	@Column(name = "sup_special_id")
 	private Special special;
 
 	// 鍞竴鏍囪瘑
-	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "sup_system_id")
-	@org.yeshi.utils.mybatis.Column(name = "sup_system_id")
-	private System system;
+	@Column(name = "sup_system_id")
+	private BusinessSystem system;
 
 	public Long getId() {
 		return id;
@@ -62,11 +46,11 @@
 		this.special = special;
 	}
 
-	public System getSystem() {
+	public BusinessSystem getSystem() {
 		return system;
 	}
 
-	public void setSystem(System system) {
+	public void setSystem(BusinessSystem system) {
 		this.system = system;
 	}
 	

--
Gitblit v1.8.0