package com.xindazhou.business.controller.app.vehicle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "移动端 - 车辆列表 Response VO")
@Data
public class VehicleListRespVO {

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

    @Schema(description = "车架号", example = "VIN20250126001")
    private String vin;

    @Schema(description = "车辆名称", example = "我的小摩托")
    private String name;

    @Schema(description = "蓝牙MAC地址", example = "AA:BB:CC:DD:EE:FF")
    private String bluetoothMac;

    @Schema(description = "车辆图片URL", example = "https://...")
    private String imageUrl;

    @Schema(description = "状态：0-离线，1-在线，2-故障", example = "1")
    private Integer status;

    @Schema(description = "电池电量（0-100）", example = "80")
    private Integer batteryLevel;

    @Schema(description = "续航里程（km）", example = "370")
    private Integer range;

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

    @Schema(description = "用户类型（1-最高权限，2-车主，3-分享用户）", example = "2")
    private Integer userType;

    @Schema(description = "绑定时间")
    private LocalDateTime bindTime;

}

