package com.ltgk.video.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 监控识别记录历史表 (VideoIdentificationHistory)实体类
 *
 * @author Qi ChengBin
 * @date 2025-02-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(value = "video_identification_history")
@ApiModel(value = "监控识别记录历史表对象", description = "VideoIdentificationHistory表")
public class VideoIdentificationHistory extends Model<VideoIdentificationHistory> {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "监控识别记录主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    
    @ApiModelProperty(value = "识别类型（船体识别、船号识别）")
    @TableField(value = "identification_type")
    private String identificationType;
    
    @ApiModelProperty(value = "船舶名称")
    @TableField(value = "boat_name")
    private String boatName;
    
    @ApiModelProperty(value = "摄像头名称")
    @TableField(value = "video_name")
    private String videoName;

    @ApiModelProperty(value = "鱼港名称")
    @TableField(value = "port_name")
    private String portName;

    @ApiModelProperty(value = "进出港方向（进港、出港）")
    @TableField(value = "entry_out")
    private String entryOut;
    
    @ApiModelProperty(value = "抓拍图片链接")
    @TableField(value = "picture_url")
    private String pictureUrl;
    
    @ApiModelProperty(value = "船牌图片链接")
    @TableField(value = "boat_code_picture")
    private String boatCodePicture;
    
    @ApiModelProperty(value = "抓拍视频链接")
    @TableField(value = "video_url")
    private String videoUrl;
    
    @ApiModelProperty(value = "抓拍时间")
    @TableField(value = "take_time")
    private Date takeTime;
    
    @ApiModelProperty(value = "海康识别结果")
    @TableField(value = "hk_result")
    private String hkResult;
    
    @ApiModelProperty(value = "系统识别结果")
    @TableField(value = "sys_result")
    private String sysResult;
    
    @ApiModelProperty(value = "系统识别船名")
    @TableField(value = "sys_boat_name")
    private String sysBoatName;
    
    @ApiModelProperty(value = "系统识别更正船名")
    @TableField(value = "sys_update_boat_name")
    private String sysUpdateBoatName;
    
    @ApiModelProperty(value = "删除标志: 0-未删除, 1-已删除")
    @TableField(value = "del_flag")
    private Integer delFlag;
    
    @ApiModelProperty(value = "行政区域编码")
    @TableField(value = "area_code")
    private String areaCode;
    
    @ApiModelProperty(value = "行政区域名称")
    @TableField(value = "area_name")
    private String areaName;
    
    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_by")
    private String createBy;
    
    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_at")
    private Date createAt;
    
    @ApiModelProperty(value = "更新人")
    @TableField(value = "update_by")
    private String updateBy;
    
    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_at")
    private Date updateAt;
    
    @ApiModelProperty(value = "备注")
    @TableField(value = "remark")
    private String remark;
    
}

