From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 16 十月 2024 14:28:37 +0800
Subject: [PATCH] 将CMQ替换为rabbitmq

---
 fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerContent.java |  154 ++++++++++++++++++++++++---------------------------
 1 files changed, 73 insertions(+), 81 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerContent.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerContent.java
index 21ea1b5..e2e93fc 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerContent.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/CustomerContent.java
@@ -1,81 +1,73 @@
-package com.yeshi.fanli.entity.system;
-
-import java.util.Date;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import com.google.gson.annotations.Expose;
-
-@Entity
-@Table(name = "yeshi_ec_customer_content")
-public class CustomerContent {
-	
-	@Id
-	@GeneratedValue(strategy = GenerationType.AUTO)
-	@Column(name = "id")
-	@Expose
-	private long id;
-	
-	@Expose
-	@Column(name = "cn_id")
-	private long cnId;
-	
-	@Expose
-	@Column(name = "title")
-	private String title;
-	
-	@Expose
-	@Column(name = "content")
-	private String content;
-	
-	@Expose
-	@Column(name="createTime")
-	private Date createTime;
-
-	public Date getCreateTime() {
-		return createTime;
-	}
-
-	public void setCreateTime(Date createTime) {
-		this.createTime = createTime;
-	}
-
-	public long getId() {
-		return id;
-	}
-
-	public void setId(long id) {
-		this.id = id;
-	}
-
-	public long getCnId() {
-		return cnId;
-	}
-
-	public void setCnId(long cnId) {
-		this.cnId = cnId;
-	}
-
-	public String getTitle() {
-		return title;
-	}
-
-	public void setTitle(String title) {
-		this.title = title;
-	}
-
-	public String getContent() {
-		return content;
-	}
-
-	public void setContent(String content) {
-		this.content = content;
-	}
-	
-
-}
+package com.yeshi.fanli.entity.system;
+
+import java.util.Date;
+
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+import com.google.gson.annotations.Expose;
+
+@Table("yeshi_ec_customer_content")
+public class CustomerContent {
+	
+	@Expose
+	@Column(name = "id")
+	private Long id;
+	
+	@Expose
+	@Column(name = "cn_id")
+	private Long cnId;
+	
+	@Expose
+	@Column(name = "title")
+	private String title;
+	
+	@Expose
+	@Column(name = "content")
+	private String content;
+	
+	@Expose
+	@Column(name="createTime")
+	private Date createTime;
+
+	public Long getId() {
+		return id;
+	}
+
+	public void setId(Long id) {
+		this.id = id;
+	}
+
+	public Long getCnId() {
+		return cnId;
+	}
+
+	public void setCnId(Long cnId) {
+		this.cnId = cnId;
+	}
+
+	public String getTitle() {
+		return title;
+	}
+
+	public void setTitle(String title) {
+		this.title = title;
+	}
+
+	public String getContent() {
+		return content;
+	}
+
+	public void setContent(String content) {
+		this.content = content;
+	}
+
+	public Date getCreateTime() {
+		return createTime;
+	}
+
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}
+
+}

--
Gitblit v1.8.0