package com.xiaoniu.system.platformusers.vehicle.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Author haoxuyang
 * @Date 2024/10/15 16:54
 */
@Data
@Schema(description = "车型查询参数DTO")
public class CarBrandQueryDTO {
    @Schema(description = "id")
    @NotNull(message = "车型id不能为空")
    private Long id;

    @Schema(description = "年份")
    private String year;
}
