package com.codvision.basic.entity.patrol;

import com.codvision.webcore.bean.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

/**
 * @author codvision
 */
@Data
@ApiModel
@Table(name = "tbl_patrol_clue")
@EqualsAndHashCode(callSuper = true)
public class PatrolClue extends BasicEntity {

    @ApiModelProperty("巡查点位id")
    private Integer pointId;

    @ApiModelProperty("经度")
    private String lng;

    @ApiModelProperty("是否解决")
    private String flagSolved;

    @ApiModelProperty("线索人员(json字符串存储)")
    private String cluePerson;

    @ApiModelProperty("线索地址")
    private String clueAddress;

    @ApiModelProperty("线索上报时间(发生时间)")
    private String clueTime;

    @ApiModelProperty("组织id")
    private Integer oid;

    @ApiModelProperty("巡查点位名称")
    private String pointName;

    @ApiModelProperty("线索图片")
    private String clueImage;

    @ApiModelProperty("结果")
    private String result;

    @ApiModelProperty("巡查记录id")
    private Integer recordId;

    @ApiModelProperty("线索类型id")
    private Integer clueType;

    @ApiModelProperty("点位地址")
    private String pointAddress;

    @ApiModelProperty("线索描述")
    private String clueDescription;

    @ApiModelProperty("纬度")
    private String lat;

}