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

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

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

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

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "车牌号")
    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;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
