package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 派单现场核验
 *
 * @author 科技小王子
 * @since 2023-07-04 01:24:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerWorksheetCheck对象", description = "派单现场核验")
public class TowerWorksheetCheck implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "check_id", type = IdType.AUTO)
    private Integer checkId;

    private Integer worksheetId;

    @ApiModelProperty(value = "核验人")
    private Integer userId;

    @ApiModelProperty(value = "核验人")
    @TableField(exist = false)
    private String nickname;

    private String photos;

    private String lat;

    private String lng;

    private String address;

    @ApiModelProperty(value = "实际核验时间")
    private String checkTime;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private Boolean save;

}
