From c10d6358b9f014375a13821465bc978d0c0da22e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 29 May 2024 17:17:08 +0800
Subject: [PATCH] 通过E呼即办数据统计

---
 src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java |  281 +++++++++++++++++++++++++++++--------------------------
 1 files changed, 149 insertions(+), 132 deletions(-)

diff --git a/src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java b/src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java
index ebd151f..d2c5385 100644
--- a/src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java
+++ b/src/main/java/org/springblade/modules/task/entity/TaskLabelReportingEventEntity.java
@@ -16,13 +16,15 @@
  */
 package org.springblade.modules.task.entity;
 
-import com.baomidou.mybatisplus.annotation.FieldFill;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
 import lombok.Data;
 import io.swagger.annotations.ApiModel;
 import io.swagger.annotations.ApiModelProperty;
+
+import java.io.Serializable;
 import java.util.Date;
 import java.lang.Double;
 import lombok.EqualsAndHashCode;
@@ -38,150 +40,165 @@
 @Data
 @TableName("jczz_task_label_reporting_event")
 @ApiModel(value = "TaskLabelReportingEvent对象", description = "打金店报事")
-@EqualsAndHashCode(callSuper = true)
-public class TaskLabelReportingEventEntity extends TenantEntity {
+public class TaskLabelReportingEventEntity implements Serializable {
 
-	/**
-	 * 任务id
-	 */
-	@ApiModelProperty(value = "任务id")
+	private static final long serialVersionUID = 1L;
+
+	/** 主键id */
+	@ApiModelProperty(value = "主键ID", example = "")
+	@TableId(value = "id", type = IdType.AUTO)
+	private Long id;
+
+	/** 任务id */
+	@ApiModelProperty(value = "任务id", example = "")
+	@TableField("task_id")
 	private Long taskId;
-	/**
-	 * 场所ID
-	 */
-	@ApiModelProperty(value = "场所ID")
+
+	/** 场所ID */
+	@ApiModelProperty(value = "场所ID", example = "")
+	@TableField("place_id")
 	private Long placeId;
-	/**
-	 * 房屋ID
-	 */
-	@ApiModelProperty(value = "房屋ID")
-	private String houseId;
-	/**
-	 * 社区ID
-	 */
-	@ApiModelProperty(value = "社区ID")
-	private String districtId;
-	/**
-	 * 发生时间
-	 */
-	@ApiModelProperty(value = "发生时间")
-	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@TableField(fill = FieldFill.INSERT)
-	private Date happenTime;
-	/**
-	 * 用户ID
-	 */
-	@ApiModelProperty(value = "用户ID")
-	private Long userId;
-	/**
-	 * 身份证图片URLS
-	 */
-	@ApiModelProperty(value = "身份证图片URLS")
-	private String imageUrls;
-	/**
-	 * 社区名称
-	 */
-	@ApiModelProperty(value = "社区名称")
+
+	/** 场所名称 */
+	@ApiModelProperty(value = "场所名称", example = "")
+	@TableField("district_name")
 	private String districtName;
-	/**
-	 * 事件类型
-	 */
-	@ApiModelProperty(value = "事件类型")
-	private String eventType;
-	/**
-	 * 确认标记
-	 */
-	@ApiModelProperty(value = "确认标记")
-	private String confirmFlag;
-	/**
-	 * 确认人ID
-	 */
-	@ApiModelProperty(value = "确认人ID")
-	private Long confirmUserId;
-	/**
-	 * 确认时间
-	 */
-	@ApiModelProperty(value = "确认时间")
-	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	private Date confirmTime;
-	/**
-	 * 位置
-	 */
-	@ApiModelProperty(value = "位置")
-	private String localtion;
-	/**
-	 * 确认意见
-	 */
-	@ApiModelProperty(value = "确认意见")
-	private String confirmNotion;
-	/**
-	 * 业主
-	 */
-	@ApiModelProperty(value = "业主")
+
+	/** 发生时间 */
+	@ApiModelProperty(value = "发生时间", example = "")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+	@TableField("happen_time")
+	private Date happenTime;
+
+	/** 用户ID */
+	@ApiModelProperty(value = "用户ID", example = "")
+	@TableField("user_id")
+	private Long userId;
+
+	/** 用户姓名 */
+	@ApiModelProperty(value = "用户姓名", example = "")
+	@TableField("owner")
 	private String owner;
-	/**
-	 * 手机号
-	 */
-	@ApiModelProperty(value = "手机号")
+
+	/** 用户手机号 */
+	@ApiModelProperty(value = "用户手机号", example = "")
+	@TableField("phone_number")
 	private String phoneNumber;
-	/**
-	 * 房屋名称
-	 */
-	@ApiModelProperty(value = "房屋名称")
-	private String houseName;
-	/**
-	 * 任务名称
-	 */
-	@ApiModelProperty(value = "任务名称")
-	private String taskName;
-	/**
-	 * 对象电话
-	 */
-	@ApiModelProperty(value = "对象电话")
+
+	/** 身份证图片URLS */
+	@ApiModelProperty(value = "身份证图片URLS", example = "")
+	@TableField("image_urls")
+	private String imageUrls;
+
+	/** 位置 */
+	@ApiModelProperty(value = "位置", example = "")
+	@TableField("localtion")
+	private String localtion;
+
+	/** 事件类型 1.二手交易 */
+	@ApiModelProperty(value = "事件类型 1.二手交易", example = "")
+	@TableField("event_type")
+	private String eventType;
+
+	/** 确认标记 1:待审核  2:审核通过  3:审核不通过 4:待接收 */
+	@ApiModelProperty(value = "确认标记 1:待审核  2:审核通过  3:审核不通过 4:待接收", example = "")
+	@TableField("confirm_flag")
+	private String confirmFlag;
+
+	/** 确认人ID */
+	@ApiModelProperty(value = "确认人ID", example = "")
+	@TableField("confirm_user_id")
+	private Long confirmUserId;
+
+	/** 确认时间 */
+	@ApiModelProperty(value = "确认时间", example = "")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+	@TableField("confirm_time")
+	private Date confirmTime;
+
+	/** 确认意见 */
+	@ApiModelProperty(value = "确认意见", example = "")
+	@TableField("confirm_notion")
+	private String confirmNotion;
+
+	/** 对象电话 */
+	@ApiModelProperty(value = "对象电话", example = "")
+	@TableField("transaction_object_tel")
 	private String transactionObjectTel;
-	/**
-	 * 交易金额
-	 */
-	@ApiModelProperty(value = "交易金额")
-	private Double transactionMoney;
-	/**
-	 * 物品数量
-	 */
-	@ApiModelProperty(value = "物品数量")
+
+	/** 交易金额 */
+	@ApiModelProperty(value = "交易金额", example = "")
+	@TableField("transaction_money")
+	private Float transactionMoney;
+
+	/** 物品数量 */
+	@ApiModelProperty(value = "物品数量", example = "")
+	@TableField("goods_nums")
 	private Integer goodsNums;
-	/**
-	 * 物品照片URLS
-	 */
-	@ApiModelProperty(value = "物品照片URLS")
+
+	/** 物品照片URLS */
+	@ApiModelProperty(value = "物品照片URLS", example = "")
+	@TableField("goods_image_urls")
 	private String goodsImageUrls;
-	/**
-	 * 交易对象
-	 */
-	@ApiModelProperty(value = "交易对象")
+
+	/** 交易对象/物品名称 */
+	@ApiModelProperty(value = "交易对象/物品名称", example = "")
+	@TableField("transaction_object")
 	private String transactionObject;
-	/**
-	 * 交易过程
-	 */
-	@ApiModelProperty(value = "交易过程")
+
+	/** 交易过程 */
+	@ApiModelProperty(value = "交易过程", example = "")
+	@TableField("transaction_process")
 	private String transactionProcess;
-	/**
-	 * 标签名称
-	 */
-	@ApiModelProperty(value = "标签名称")
+
+	/** 标签名称 */
+	@ApiModelProperty(value = "标签名称", example = "")
+	@TableField("label_name")
 	private String labelName;
 
-	@TableField(fill = FieldFill.INSERT)
-	@ApiModelProperty(value = "创建时间")
-	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+	/** 1:主动上报  2:系统自动下发 */
+	@ApiModelProperty(value = "1:主动上报  2:系统自动下发", example = "")
+	@TableField("source")
+	private Integer source;
+
+	/** 创建时间 */
+	@ApiModelProperty(value = "创建时间", example = "")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+	@TableField(value = "create_time",fill = FieldFill.INSERT)
 	private Date createTime;
 
-	@TableField(fill = FieldFill.UPDATE)
-	@ApiModelProperty(value = "更新时间")
-	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+	/** 创建人 */
+	@ApiModelProperty(value = "创建人", example = "")
+	@TableField("create_user")
+	private Long createUser;
+
+	/** 更新时间 */
+	@ApiModelProperty(value = "更新时间", example = "")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+	@TableField("update_time")
 	private Date updateTime;
 
+	/** 更新人 */
+	@ApiModelProperty(value = "更新人", example = "")
+	@TableField("update_user")
+	private Long updateUser;
+
+	/** 0否 1是 */
+	@ApiModelProperty(value = "0否 1是", example = "")
+	@TableField("is_deleted")
+	@TableLogic
+	private Integer isDeleted;
+
+	/** 身份证号 */
+	@ApiModelProperty(value = "身份证号", example = "")
+	@TableField("id_card")
+	private String idCard;
+
+	/** 收据、发票 */
+	@ApiModelProperty(value = "收据、发票", example = "")
+	@TableField("receipt_urls")
+	private String receiptUrls;
+
+
+
 }

--
Gitblit v1.9.3