package com.hotwj.platform.config.vehicleInspectionConfig.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;

/**
 * 车辆年审检查配置对象 hot_vehicle_inspection_config
 *
 * @author shihongwei
 * @date 2025-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_inspection_config")
public class HotVehicleInspectionConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 间隔年数
     */
    private Long intervalYears;

    /**
     * 检测次数
     */
    private Long inspectionTimes;

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

    /**
     * 是否启用:1=启用,0=停用
     */
    private Long isEnabled;


}
