package com.hotwj.platform.config.vehicleSecondaryMaintenanceConfig.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_secondary_maintenance_config
 *
 * @author shihongwei
 * @date 2025-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_secondary_maintenance_config")
public class HotVehicleSecondaryMaintenanceConfig 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;

    /**
     * 是否启用
     */
    private Long isEnabled;

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


}
