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

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

/**
 * @Author haoxuyang
 * @Date 2024/10/10 17:20
 */
@Data
@Schema(description = "修改车辆信息参数DTO")
public class EditCarBrandDTO {
    @Schema(description = "id")
    @NotNull(message = "id不能为空")
    private Long id;

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

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

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

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