package com.hotwj.platform.securityManagement.vehicleInoutCheck.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;

/**
 * 车辆进出场检查对象 hot_vehicle_inout_check
 *
 * @author shihongwei
 * @date 2026-01-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_inout_check")
public class HotVehicleInoutCheck extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 进出场检查主表id
     */
    private Long recordId;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 车辆ID
     */
    private Long vehicleId;

    /**
     * 车牌号
     */
    private String plateNumber;

    /**
     * 检查人员ID
     */
    private Long inspectorId;

    /**
     * 检查人员姓名
     */
    private String inspectorName;

    /**
     * 行驶证是否正常 1=正常 0=异常
     */
    private Long drivingLicenseStatus;

    /**
     * 驾驶证是否正常 1=正常 0=异常
     */
    private Long driverLicenseStatus;

    /**
     * 道路运输证是否正常 1=正常 0=异常
     */
    private Long roadTransportCertStatus;

    /**
     * 从业资格证是否正常 1=正常 0=异常
     */
    private Long qualificationCertStatus;

    /**
     * 检查日期
     */
    private Date checkDate;

    /**
     * 出场时间
     */
    private Date departureTime;

    /**
     * 回场时间
     */
    private Date returnTime;

    /**
     * 运行路线
     */
    private String route;

    /**
     * 备注
     */
    private String remark;

    /**
     * 结论
     */
    private String conclusion;

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

    /**
     * 回场结论
     */
    private String returnRemark;
}
