package com.hotwj.platform.config.vehicleType.domain.bo;

import com.hotwj.platform.config.vehicleType.domain.HotVehicleType;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 车辆类型业务对象 hot_vehicle_type
 *
 * @author shihongwei
 * @date 2026-02-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotVehicleType.class, reverseConvertGenerate = false)
public class HotVehicleTypeBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 公司ID（由应用层保证必填）
     */
    private Long companyId;

    /**
     * 名称
     */
    private String name;

    /**
     * 代码
     */
    private String code;

    /**
     * 种类
     */
    private String category;

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


}
