package com.xiaoniu.system.platformsettings.carbrand.dto;

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

/**
 * @Author haoxuyang
 * @Date 2024/10/10 17:15
 */
@Data
@Schema(description = "车辆信息添加参数DTO")
public class AddCarBrandDTO {

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "logo")
    private String logo;

    @Schema(description = "名称（品牌、型号名称）")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "备注")
    private String remark;
}
