From 70ebe043e6b62756be9e257fe954c747d46568b9 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 16 九月 2022 19:00:59 +0800
Subject: [PATCH] 商品ID字符串化
---
fanli/src/main/java/com/yeshi/fanli/entity/system/SystemZnx.java | 113 +++++++++++++++++++++++++++-----------------------------
1 files changed, 54 insertions(+), 59 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemZnx.java b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemZnx.java
index b71bf00..e30ce23 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemZnx.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/system/SystemZnx.java
@@ -1,59 +1,54 @@
-package com.yeshi.fanli.entity.system;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-@Entity
-@Table(name = "yeshi_ec_system_msg")
-public class SystemZnx {
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- @Column(name = "id")
- private long id;
-
- @Column(name = "`title`", length = 128)
- private String title;
-
- @Column(name = "`content`", length = 128)
- private String content;
-
- @Column(name = "`createTime`", length = 128)
- private long createTime;
-
- public long getId() {
- return id;
- }
-
- public void setId(long id) {
- this.id = id;
- }
-
- 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 long getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(long createTime) {
- this.createTime = createTime;
- }
-
-}
+package com.yeshi.fanli.entity.system;
+
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+
+@Table("yeshi_ec_system_msg")
+public class SystemZnx {
+
+ @Column(name = "id")
+ private Long id;
+
+ @Column(name = "title")
+ private String title;
+
+ @Column(name = "content")
+ private String content;
+
+ @Column(name = "createTime")
+ private Long createTime;
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ 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 Long getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Long createTime) {
+ this.createTime = createTime;
+ }
+
+}
--
Gitblit v1.8.0