/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.task.entity; 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; import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; /** * 打金店报事 实体类 * * @author BladeX * @since 2023-11-06 */ @Data @TableName("jczz_task_label_reporting_event") @ApiModel(value = "TaskLabelReportingEvent对象", description = "打金店报事") public class TaskLabelReportingEventEntity implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("主键id") @TableId(value = "id", type = IdType.ASSIGN_ID) private Long id; /** * 任务id */ @ApiModelProperty(value = "任务id") private Long taskId; /** * 场所ID */ @ApiModelProperty(value = "场所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; /** * 用户姓名 */ @ApiModelProperty(value = "用户姓名") private String owner; /** * 用户手机号 */ @ApiModelProperty(value = "用户手机号") private String phoneNumber; /** * 身份证图片URLS */ @ApiModelProperty(value = "身份证图片URLS") private String imageUrls; /** * 场所名称 */ @ApiModelProperty(value = "场所名称") private String districtName; /** * 事件类型 1:打金店 2:二手手机 3:二手车 */ @ApiModelProperty(value = "事件类型") private String eventType; /** * 确认人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 confirmNotion; /** * 确认标记 1:待审核 2:审核通过 3:审核不通过 4:待上报(场所负责人完善,由系统下发的任务) */ @ApiModelProperty(value = "确认标记 1:待审核 2:审核通过 3:审核不通过 4:待上报(场所负责人完善,由系统下发的任务)") private String confirmFlag; /** * 位置 */ @ApiModelProperty(value = "位置") private String localtion; // // /** // * 房屋名称 // */ // @ApiModelProperty(value = "房屋名称") // private String houseName; // /** // * 任务名称 // */ // @ApiModelProperty(value = "任务名称") // private String taskName; /** * 对象电话 */ @ApiModelProperty(value = "对象电话") private String transactionObjectTel; /** * 交易金额 */ @ApiModelProperty(value = "交易金额") private Double transactionMoney; /** * 物品数量 */ @ApiModelProperty(value = "物品数量") private Integer goodsNums; /** * 物品照片URLS */ @ApiModelProperty(value = "物品照片URLS") private String goodsImageUrls; /** * 交易对象 */ @ApiModelProperty(value = "交易对象") private String transactionObject; /** * 交易过程 */ @ApiModelProperty(value = "交易过程") private String transactionProcess; /** * 标签名称 */ @ApiModelProperty(value = "标签名称") private String labelName; /** * 来源: 1:主动上报 2:系统自动下发 */ @ApiModelProperty(value = "来源: 1:主动上报 2:系统自动下发") private Integer source; @TableField(fill = FieldFill.INSERT) @ApiModelProperty(value = "创建时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; /** * 创建人 */ @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("创建人") @TableField(fill = FieldFill.INSERT) private String createUser; /** * 更新人 */ @JsonSerialize(using = ToStringSerializer.class) @ApiModelProperty("更新人") @TableField(fill = FieldFill.UPDATE) private String updateUser; /** * 更新时间 */ @TableField(fill = FieldFill.UPDATE) @ApiModelProperty(value = "更新时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date updateTime; /** * 是否已删除 0:否 1:是 */ @ApiModelProperty("是否已删除") private Integer isDeleted; }