From a499e5a737991461554805af6b72fba65a680776 Mon Sep 17 00:00:00 2001
From: qirong <2032486488@qq.com>
Date: 星期五, 07 四月 2023 11:53:41 +0800
Subject: [PATCH] 更改环境
---
ycl-platform/src/main/java/com/ycl/entity/NewsIp.java | 119 +++++++++++++++++++++++++++++++----------------------------
1 files changed, 62 insertions(+), 57 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsIp.java b/ycl-platform/src/main/java/com/ycl/entity/NewsIp.java
index 7cade69..cf5b9b3 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/NewsIp.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/NewsIp.java
@@ -1,57 +1,62 @@
-package com.ycl.entity;
-
-
-import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.io.Serializable;
-import java.time.LocalDate;
-
-/**
- * ip鐧藉悕鍗曡〃(NewsIp)琛ㄥ疄浣撶被
- *
- * @author makejava
- * @since 2022-11-16 16:52:30
- */
-@SuppressWarnings("serial")
-public class NewsIp extends Model<NewsIp> {
-
- private Integer id;
- //ip鍦板潃
- private String ipAddess;
- //鍒涘缓鏃堕棿
- private LocalDate createTime;
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public String getIpAddess() {
- return ipAddess;
- }
-
- public void setIpAddess(String ipAddess) {
- this.ipAddess = ipAddess;
- }
-
- public LocalDate getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(LocalDate createTime) {
- this.createTime = createTime;
- }
-
- /**
- * 鑾峰彇涓婚敭鍊�
- *
- * @return 涓婚敭鍊�
- */
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- }
-
+package com.ycl.entity;
+
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.io.Serializable;
+import java.sql.Date;
+
+/**
+ * ip鐧藉悕鍗曡〃(NewsIp)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-11-17 11:38:27
+ */
+@SuppressWarnings("serial")
+public class NewsIp extends Model<NewsIp> {
+ @ApiModelProperty("涓婚敭")
+ private Integer id;
+ //ip鍦板潃
+ @ApiModelProperty("ip鍦板潃")
+ private String ipAddess;
+ //鍒涘缓鏃堕棿
+ @ApiModelProperty("鍒涘缓鏃堕棿")
+ private Date createTime;
+
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getIpAddess() {
+ return ipAddess;
+ }
+
+ public void setIpAddess(String ipAddess) {
+ this.ipAddess = ipAddess;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.id;
+ }
+ }
+
--
Gitblit v1.8.0