From 3058f3d94dc3dbfdbf1d69c4b5143f95d674827d Mon Sep 17 00:00:00 2001
From: 安瑾然 <107107765@qq.com>
Date: 星期二, 19 七月 2022 13:36:26 +0800
Subject: [PATCH] commit
---
src/main/java/com/example/jz/modle/entity/Report.java | 134 ++++++--------------------------------------
1 files changed, 19 insertions(+), 115 deletions(-)
diff --git a/src/main/java/com/example/jz/modle/entity/Report.java b/src/main/java/com/example/jz/modle/entity/Report.java
index 1c6db75..260ef99 100644
--- a/src/main/java/com/example/jz/modle/entity/Report.java
+++ b/src/main/java/com/example/jz/modle/entity/Report.java
@@ -4,6 +4,14 @@
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.AllArgsConstructor;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.NoArgsConstructor;
+import lombok.experimental.Accessors;
+import org.springframework.format.annotation.DateTimeFormat;
+
import java.io.Serializable;
/**
@@ -13,6 +21,11 @@
* @since 2022-07-13 11:52:58
*/
@TableName("qyjz.report")
+@Data
+@NoArgsConstructor
+@AllArgsConstructor
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
public class Report extends Model<Report> {
//妗堜欢ID
private Integer id;
@@ -23,10 +36,11 @@
//鏄惁浠e姙 1锛堜唬鍔烇級 0锛堜笉鏄唬鍔烇級
private String isCommission;
//娑夋閲戦
- private String amountInvolved;
+ private Double amountInvolved;
//鎶ユ鏉愭枡鍥剧墖鍦板潃 澶氫釜鐢�,鍒嗛殧
private String reportMaterials;
//鎶ユ鏃堕棿
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date reportTime;
//鎶ユ鏂瑰紡
private String reportMethod;
@@ -35,125 +49,15 @@
//鐘舵�侊紝1涓洪�氳繃 0涓烘湭瀹℃牳
private Integer status;
//鍒涘缓鏃堕棿
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date ctime;
//琚獥鏃堕棿
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date cheatTime;
//琛ュ厖淇℃伅
private String information;
- //妗堜欢id
+ //妗堜欢Id
private Integer causeId;
-
- public Integer getCauseId() {
- return causeId;
- }
-
- public void setCauseId(Integer causeId) {
- this.causeId = causeId;
- }
-
- public Integer getId() {
- return id;
- }
-
- public void setId(Integer id) {
- this.id = id;
- }
-
- public String getPic() {
- return pic;
- }
-
- public void setPic(String pic) {
- this.pic = pic;
- }
-
- public Integer getUserId() {
- return userId;
- }
-
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
-
- public String getIsCommission() {
- return isCommission;
- }
-
- public void setIsCommission(String isCommission) {
- this.isCommission = isCommission;
- }
-
- public String getAmountInvolved() {
- return amountInvolved;
- }
-
- public void setAmountInvolved(String amountInvolved) {
- this.amountInvolved = amountInvolved;
- }
-
- public String getReportMaterials() {
- return reportMaterials;
- }
-
- public void setReportMaterials(String reportMaterials) {
- this.reportMaterials = reportMaterials;
- }
-
- public Date getReportTime() {
- return reportTime;
- }
-
- public void setReportTime(Date reportTime) {
- this.reportTime = reportTime;
- }
-
- public String getReportMethod() {
- return reportMethod;
- }
-
- public void setReportMethod(String reportMethod) {
- this.reportMethod = reportMethod;
- }
-
- public Integer getCreator() {
- return creator;
- }
-
- public void setCreator(Integer creator) {
- this.creator = creator;
- }
-
- public Integer getStatus() {
- return status;
- }
-
- public void setStatus(Integer status) {
- this.status = status;
- }
-
- public Date getCtime() {
- return ctime;
- }
-
- public void setCtime(Date ctime) {
- this.ctime = ctime;
- }
-
- public Date getCheatTime() {
- return cheatTime;
- }
-
- public void setCheatTime(Date cheatTime) {
- this.cheatTime = cheatTime;
- }
-
- public String getInformation() {
- return information;
- }
-
- public void setInformation(String information) {
- this.information = information;
- }
/**
* 鑾峰彇涓婚敭鍊�
@@ -164,5 +68,5 @@
protected Serializable pkVal() {
return this.id;
}
- }
+}
--
Gitblit v1.8.0