/* * 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.TableName; 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.util.Date; import lombok.EqualsAndHashCode; import org.springblade.core.mp.base.BaseEntity; import org.springblade.core.tenant.mp.TenantEntity; import org.springframework.format.annotation.DateTimeFormat; import sun.rmi.runtime.Log; /** * 报事报修任务表 实体类 * * @author BladeX * @since 2023-11-06 */ @Data @TableName("jczz_task_report_for_repairs") @ApiModel(value = "TaskReportForRepairs对象", description = "报事报修任务表") @EqualsAndHashCode(callSuper = true) public class TaskReportForRepairsEntity extends BaseEntity { /** * 类型 1公共维修,2居家维修,3矛盾纠纷,4投诉举报,5企业商户上报 */ @ApiModelProperty(value = "类型 1公共维修,2居家维修,3矛盾纠纷,4投诉举报,5企业商户上报") private Integer type; /** * 任务id */ @ApiModelProperty(value = "任务id") private Long taskId; /** * 门牌地址编码 */ @ApiModelProperty(value = "门牌地址编码") private String addressCode; /** * 姓名 */ @ApiModelProperty(value = "姓名") private String realName; /** * 手机号 */ @ApiModelProperty(value = "手机号") private String phone; /** * 备注 */ @ApiModelProperty(value = "备注") private String remark; /** * 图片路径 */ @ApiModelProperty(value = "图片路径") private String imageUrls; /** * 确认用户ID */ @ApiModelProperty(value = "确认用户ID") @JsonSerialize(using = ToStringSerializer.class) private Long confirmUserId; /** * 确认时间 */ @ApiModelProperty(value = "确认时间") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date confirmTime; /** * 确认标记 1:待处理 2:处理中 3:已处理 */ @ApiModelProperty(value = "确认标记 1:待处理 2:处理中 3:已处理") private Integer confirmFlag; /** * 确认意见 */ @ApiModelProperty(value = "确认意见") private String confirmNotion; /** * 经度 */ @ApiModelProperty(value = "经度") private String lng; /** * 纬度 */ @ApiModelProperty(value = "纬度") private String lat; /** * 事发地地址 */ @ApiModelProperty(value = "事发地地址") private String address; /** * 临时用 1:已查看 2:未查看 */ @ApiModelProperty(value = "临时用 1:已查看 2:未查看") private Integer viewType; }