From 4a9a9fa60f52be1e7c91f01df54b3cbae8c11d6c Mon Sep 17 00:00:00 2001 From: baizonghao <1719256278@qq.com> Date: 星期日, 23 四月 2023 13:11:21 +0800 Subject: [PATCH] 用户导出 --- src/main/java/com/example/jz/modle/entity/Report.java | 147 +++++++++++++------------------------------------ 1 files changed, 39 insertions(+), 108 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 5c99828..a5b3f59 100644 --- a/src/main/java/com/example/jz/modle/entity/Report.java +++ b/src/main/java/com/example/jz/modle/entity/Report.java @@ -2,8 +2,17 @@ import java.util.Date; +import com.alibaba.excel.annotation.ExcelProperty; 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 +22,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 +37,22 @@ //鏄惁浠e姙 1锛堜唬鍔烇級 0锛堜笉鏄唬鍔烇級 private String isCommission; //娑夋閲戦 - private String amountInvolved; + private Double amountInvolved; //鎶ユ鏉愭枡鍥剧墖鍦板潃 澶氫釜鐢�,鍒嗛殧 - private String reportMaterials; +// private String reportMaterials; + + // 韬唤璇� + private String idCardMaterials; + // 鍚堝悓 + private String contractMaterials; + // 浜ゆ槗 + private String transactionMaterials; + // 鍏朵粬 + private String elseMaterials; + + //鎶ユ鏃堕棿 + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date reportTime; //鎶ユ鏂瑰紡 private String reportMethod; @@ -35,116 +61,21 @@ //鐘舵�侊紝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; - - - 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; - } + //妗堜欢Id + private Integer causeId; + //妗堜欢鎻忚堪 + private String reportDescription; + //鏄惁杩涚兢 + private Integer isInGroup; + //椹冲洖鍘熷洜 + private String remarks; /** * 鑾峰彇涓婚敭鍊� @@ -155,5 +86,5 @@ protected Serializable pkVal() { return this.id; } - } +} -- Gitblit v1.8.0