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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "移动端 - 车辆状态 Response VO")
@Data
public class VehicleStatusRespVO {

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

    @Schema(description = "设防状态（0-撤防，1-设防）", example = "1")
    private Integer defenseStatus;

    @Schema(description = "上电状态（0-下电，1-上电）", example = "0")
    private Integer powerStatus;

    @Schema(description = "门锁状态（0-开，1-关）", example = "1")
    private Integer doorLockStatus;

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

    @Schema(description = "信号强度（0-4）", example = "3")
    private Integer signalStrength;

    @Schema(description = "蓝牙连接状态（0-未连接，1-已连接）", example = "1")
    private Integer bluetoothStatus;

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

    @Schema(description = "前轮胎压（kPa）", example = "124.0")
    private BigDecimal frontTirePressure;

    @Schema(description = "后轮胎压（kPa）", example = "120.0")
    private BigDecimal rearTirePressure;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}

