package com.hotwj.platform.resourceManagement.vehicleChange.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_change
 *
 * @author shihongwei
 * @date 2025-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_change")
public class HotVehicleChange extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

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

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

    /**
     * 变更日期
     */
    private Date changeDate;

    /**
     * 变更事项
     */
    private String changeItem;

    /**
     * 变更原因
     */
    private String changeReason;

    /**
     * 记录人ID
     */
    private Long recorderId;

    /**
     * 记录人姓名
     */
    private String recorderName;

    /**
     * 变更凭据图片URL(多个逗号分隔)
     */
    private String changeCertImageUrls;

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


}
