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/NewsPolice.java | 179 +++++++++++++++++++++++++++++++++--------------------------
1 files changed, 100 insertions(+), 79 deletions(-)
diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java b/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
index c16460f..b2f6a48 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
@@ -1,79 +1,100 @@
-package com.ycl.entity;
-
-
-import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.io.Serializable;
-import java.time.LocalDate;
-
-/**
- * 璀﹀憳琛�
-(NewsPolice)琛ㄥ疄浣撶被
- *
- * @author makejava
- * @since 2022-11-16 16:52:30
- */
-@SuppressWarnings("serial")
-public class NewsPolice extends Model<NewsPolice> {
- //鑷涓婚敭
- private Integer id;
- //璀﹀憳鍚嶇О
- private String rname;
- //鍒涘缓鏃堕棿
- private LocalDate createTime;
- //淇敼鏃堕棿
- private LocalDate updateTime;
- //鏈烘瀯鍚嶇О
- private String organizationName;
-
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public String getRname() {
- return rname;
- }
-
- public void setRname(String rname) {
- this.rname = rname;
- }
-
- public LocalDate getCreateTime() {
- return createTime;
- }
-
- public void setCreateTime(LocalDate createTime) {
- this.createTime = createTime;
- }
-
- public LocalDate getUpdateTime() {
- return updateTime;
- }
-
- public void setUpdateTime(LocalDate updateTime) {
- this.updateTime = updateTime;
- }
-
- public String getOrganizationName() {
- return organizationName;
- }
-
- public void setOrganizationName(String organizationName) {
- this.organizationName = organizationName;
- }
-
- /**
- * 鑾峰彇涓婚敭鍊�
- *
- * @return 涓婚敭鍊�
- */
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- }
-
+package com.ycl.entity;
+
+
+import com.baomidou.mybatisplus.extension.activerecord.Model;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.io.Serializable;
+import java.sql.Date;
+
+/**
+ * 璀﹀憳琛�
+(NewsPolice)琛ㄥ疄浣撶被
+ *
+ * @author makejava
+ * @since 2022-11-17 11:38:27
+ */
+@SuppressWarnings("serial")
+public class NewsPolice extends Model<NewsPolice> {
+ //鑷涓婚敭
+ @ApiModelProperty("涓婚敭")
+ private Integer id;
+ //璀﹀憳鍚嶇О
+ @ApiModelProperty("璀﹀憳鍚嶇О")
+ private String rname;
+ //鍒涘缓鏃堕棿
+ @ApiModelProperty("鍒涘缓鏃堕棿")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private Date createTime;
+ //淇敼鏃堕棿
+ @ApiModelProperty("淇敼鏃堕棿")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private Date updateTime;
+ //鏈烘瀯id
+ @ApiModelProperty("鏈烘瀯id")
+ private String newsDepartmentId;
+ //鎵嬫満鍙风爜
+ @ApiModelProperty("鎵嬫満鍙风爜")
+ private String phone;
+
+
+ public Integer getId() {
+ return id;
+ }
+
+ public void setId(Integer id) {
+ this.id = id;
+ }
+
+ public String getRname() {
+ return rname;
+ }
+
+ public void setRname(String rname) {
+ this.rname = rname;
+ }
+
+ public Date getCreateTime() {
+ return createTime;
+ }
+
+ public void setCreateTime(Date createTime) {
+ this.createTime = createTime;
+ }
+
+ public Date getUpdateTime() {
+ return updateTime;
+ }
+
+ public void setUpdateTime(Date updateTime) {
+ this.updateTime = updateTime;
+ }
+
+ public String getNewsDepartmentId() {
+ return newsDepartmentId;
+ }
+
+ public void setNewsDepartmentId(String newsDepartmentId) {
+ this.newsDepartmentId = newsDepartmentId;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
+ }
+
+ /**
+ * 鑾峰彇涓婚敭鍊�
+ *
+ * @return 涓婚敭鍊�
+ */
+ @Override
+ protected Serializable pkVal() {
+ return this.id;
+ }
+ }
+
--
Gitblit v1.8.0