package com.zsElectric.boot.business.model.form;

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

/**
 * 用户车辆表单对象
 *
 * @author zsElectric
 * @since 2026-03-03
 */
@Schema(description = "用户车辆表单对象")
@Data
public class UserVehicleForm {

    @Schema(description = "车辆ID")
    private Long id;

    @Schema(description = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "车牌号")
    @NotBlank(message = "车牌号不能为空")
    private String licensePlate;

    @Schema(description = "车辆品牌")
    private String brand;

    @Schema(description = "车辆型号")
    private String model;

    @Schema(description = "车辆颜色")
    private String color;

    @Schema(description = "车辆类型（1-新能源 2-燃油车 3-混合动力）")
    private Integer vehicleType;

    @Schema(description = "是否默认车辆（0-否 1-是）")
    private Integer isDefault;

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