package com.hotwj.platform.common.photoEvidence.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_photo_evidence")
public class HotPhotoEvidence extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private Long originalOssId;

    private Long watermarkedOssId;

    private Date captureTimeClient;

    private Date captureTimeServer;

    private Double latitude;

    private Double longitude;

    private String addressTextServer;

    private String addressTextClient;

    private String addressSource;

    private String bizType;

    private String bizId;

    private Long companyId;

    private String operatorId;

    private String operatorName;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;
}

