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

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

import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/10/15 15:54
 */
@Data
@Schema(description = "我的车库列表响应参数VO")
public class UserCarListVO {
    @Schema(description = "ID")
    private Long id;

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

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

    @Schema(description = "车牌号")
    private String plateNo;

    @Schema(description = "车辆里程(km)")
    private String vehicleMileage;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "启动时刻")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

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

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "用户手机号")
    private String phoneNumber;
}
