From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java |  201 ++++++++++++++++++++++++-------------------------
 1 files changed, 99 insertions(+), 102 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java
index 87a9dc5..d11868f 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemConfig.java
@@ -1,102 +1,99 @@
-package com.yeshi.fanli.entity.system;
-
-import java.util.HashSet;
-import java.util.Set;
-
-import javax.persistence.CascadeType;
-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.JoinTable;
-import javax.persistence.ManyToMany;
-import javax.persistence.Table;
-
-import org.hibernate.annotations.Cascade;
-import org.hibernate.annotations.Fetch;
-import org.hibernate.annotations.FetchMode;
-
-/**
- * 绯荤粺閰嶇疆鍙傛暟
- * 
- * @author Administrator
- *
- */
-@Entity
-@Table(name = "yeshi_ec_system_config")
-public class SystemConfig {
-	@Id
-	@GeneratedValue(strategy = GenerationType.AUTO)
-	@Column(name = "id")
-	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>();
-	@Column(name = "`key`", length = 50)
-	private String key;
-	@Column(name = "`value`", length = 1024)
-	private String value;
-	@Column(name = "`name`", length = 50)
-	private String name;
-	private long updatetime;
-	
-	public SystemConfig() {
-		// TODO Auto-generated constructor stub
-	}
-
-	public SystemConfig(long id) {
-		super();
-		this.id = id;
-	}
-
-	public long getId() {
-		return id;
-	}
-
-	public void setId(long id) {
-		this.id = id;
-	}
-
-	public Set<System> getSystems() {
-		return systems;
-	}
-
-	public void setSystems(Set<System> systems) {
-		this.systems = systems;
-	}
-
-	public String getKey() {
-		return key;
-	}
-
-	public void setKey(String key) {
-		this.key = key;
-	}
-
-	public String getValue() {
-		return value;
-	}
-
-	public void setValue(String value) {
-		this.value = value;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public long getUpdatetime() {
-		return updatetime;
-	}
-
-	public void setUpdatetime(long updatetime) {
-		this.updatetime = updatetime;
-	}
-}
+package com.yeshi.fanli.entity.system;
+
+import java.util.HashSet;
+import java.util.Set;
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+/**
+ * 绯荤粺閰嶇疆鍙傛暟
+ * 
+ * @author Administrator
+ *
+ */
+@Table("yeshi_ec_system_config")
+public class SystemConfig {
+	
+	@Column(name = "id")
+	private Long id;
+	
+	@Column(name = "key")
+	private String key;
+	
+	@Column(name = "value")
+	private String value;
+	
+	@Column(name = "name")
+	private String name;
+
+	@Column(name = "system")
+	private SystemEnum system;
+	
+	@Column(name = "updatetime")
+	private Long updatetime;
+
+	public SystemConfig() {
+	}
+
+	public SystemConfig(Long id) {
+		super();
+		this.id = id;
+	}
+
+	public SystemConfig(String key, String value, String name, SystemEnum system) {
+		this.key = key;
+		this.value = value;
+		this.name = name;
+		this.system = system;
+	}
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public String getKey() {
+		return key;
+	}
+
+	public void setKey(String key) {
+		this.key = key;
+	}
+
+	public String getValue() {
+		return value;
+	}
+
+	public void setValue(String value) {
+		this.value = value;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public Long getUpdatetime() {
+		return updatetime;
+	}
+
+	public void setUpdatetime(Long updatetime) {
+		this.updatetime = updatetime;
+	}
+
+	public SystemEnum getSystem() {
+		return system;
+	}
+
+	public void setSystem(SystemEnum system) {
+		this.system = system;
+	}
+}

--
Gitblit v1.8.0