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/bus/clazz/GoodsSecondClass.java |  231 ++++++++++++++++++++++++++++-----------------------------
 1 files changed, 115 insertions(+), 116 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsSecondClass.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsSecondClass.java
index 1c03c1a..4d79031 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsSecondClass.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsSecondClass.java
@@ -1,116 +1,115 @@
-package com.yeshi.fanli.entity.bus.clazz;
-
-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.google.gson.annotations.Expose;
-
-/**
- * 鍟嗗搧浜岀骇鍒嗙被
- * 
- * @author Administrator
- *
- */
-@Entity
-@Table(name = "yeshi_ec_second_class")
-public class GoodsSecondClass {
-	@Id
-	@GeneratedValue(strategy = GenerationType.AUTO)
-	@Column(name = "id")
-	@Expose
-	private long id;
-	@Expose
-	@Column(name = "`name`", length = 50)
-	private String name;
-	@Expose
-	@Column(name = "`picture`", length = 1024)
-	private String picture;
-	private int orderby;
-	private long createtime;
-	@ManyToOne(fetch = FetchType.EAGER)
-	@JoinColumn(name = "pid")
-	private GoodsClass parent;
-	@Column(name = "`key`", length = 10)
-	private String key;
-	
-	public GoodsSecondClass() {
-	}
-	
-	public GoodsSecondClass(long id) {
-		super();
-		this.id = id;
-	}
-
-	public GoodsSecondClass(String name, String picture, int orderby,
-			long createtime, GoodsClass parent) {
-		super();
-		this.name = name;
-		this.picture = picture;
-		this.orderby = orderby;
-		this.createtime = createtime;
-		this.parent = parent;
-	}
-	
-	public String getKey() {
-		return key;
-	}
-
-	public void setKey(String key) {
-		this.key = key;
-	}
-
-	public GoodsClass getParent() {
-		return parent;
-	}
-
-	public void setParent(GoodsClass parent) {
-		this.parent = parent;
-	}
-
-	public long getId() {
-		return id;
-	}
-
-	public void setId(long id) {
-		this.id = id;
-	}
-
-	public String getName() {
-		return name;
-	}
-
-	public void setName(String name) {
-		this.name = name;
-	}
-
-	public String getPicture() {
-		return picture;
-	}
-
-	public void setPicture(String picture) {
-		this.picture = picture;
-	}
-
-	public int getOrderby() {
-		return orderby;
-	}
-
-	public void setOrderby(int orderby) {
-		this.orderby = orderby;
-	}
-
-	public long getCreatetime() {
-		return createtime;
-	}
-
-	public void setCreatetime(long createtime) {
-		this.createtime = createtime;
-	}
-}
+package com.yeshi.fanli.entity.bus.clazz;
+
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+import com.google.gson.annotations.Expose;
+
+/**
+ * 鍟嗗搧浜岀骇鍒嗙被
+ * 
+ * @author Administrator
+ *
+ */
+@Table("yeshi_ec_second_class")
+public class GoodsSecondClass {
+	
+	@Expose
+	@Column(name = "id")
+	private Long id;
+	
+	@Expose
+	@Column(name = "name")
+	private String name;
+	
+	@Expose
+	@Column(name = "picture")
+	private String picture;
+	
+	@Column(name = "pid")
+	private GoodsClass parent;
+	
+	@Column(name = "key")
+	private String key;
+	
+	@Column(name = "orderby")
+	private Integer orderby;
+
+	@Column(name = "createtime")
+	private Long createtime;
+	
+	public GoodsSecondClass() {
+	}
+	
+	public GoodsSecondClass(long id) {
+		super();
+		this.id = id;
+	}
+
+	public GoodsSecondClass(String name, String picture, int orderby,
+			long createtime, GoodsClass parent) {
+		super();
+		this.name = name;
+		this.picture = picture;
+		this.orderby = orderby;
+		this.createtime = createtime;
+		this.parent = parent;
+	}
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	public String getPicture() {
+		return picture;
+	}
+
+	public void setPicture(String picture) {
+		this.picture = picture;
+	}
+
+	public GoodsClass getParent() {
+		return parent;
+	}
+
+	public void setParent(GoodsClass parent) {
+		this.parent = parent;
+	}
+
+	public String getKey() {
+		return key;
+	}
+
+	public void setKey(String key) {
+		this.key = key;
+	}
+
+	public Integer getOrderby() {
+		return orderby;
+	}
+
+	public void setOrderby(Integer orderby) {
+		this.orderby = orderby;
+	}
+
+	public Long getCreatetime() {
+		return createtime;
+	}
+
+	public void setCreatetime(Long createtime) {
+		this.createtime = createtime;
+	}
+	
+}

--
Gitblit v1.8.0