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 | 42 ++++++++++++++++++++++++++++++++----------
1 files changed, 32 insertions(+), 10 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 e111570..b2f6a48 100644
--- a/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
+++ b/ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
@@ -2,34 +2,48 @@
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:12:42
+ * @since 2022-11-17 11:38:27
*/
@SuppressWarnings("serial")
public class NewsPolice extends Model<NewsPolice> {
//鑷涓婚敭
- private Object id;
+ @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;
- //鏈烘瀯鍚嶇О
- private String organizationName;
+ //鏈烘瀯id
+ @ApiModelProperty("鏈烘瀯id")
+ private String newsDepartmentId;
+ //鎵嬫満鍙风爜
+ @ApiModelProperty("鎵嬫満鍙风爜")
+ private String phone;
- public Object getId() {
+ public Integer getId() {
return id;
}
- public void setId(Object id) {
+ public void setId(Integer id) {
this.id = id;
}
@@ -57,12 +71,20 @@
this.updateTime = updateTime;
}
- public String getOrganizationName() {
- return organizationName;
+ public String getNewsDepartmentId() {
+ return newsDepartmentId;
}
- public void setOrganizationName(String organizationName) {
- this.organizationName = organizationName;
+ public void setNewsDepartmentId(String newsDepartmentId) {
+ this.newsDepartmentId = newsDepartmentId;
+ }
+
+ public String getPhone() {
+ return phone;
+ }
+
+ public void setPhone(String phone) {
+ this.phone = phone;
}
/**
--
Gitblit v1.8.0