package com.yupi.project.model.dto.mqtt;

import lombok.Data;

@Data
public class RobotStatusMessage {

    // Fields for Task ACK / specific message context
    private Long taskId; // ID of the task this message might be an ACK for
    private String status; // Status related to the taskId (e.g., "PROCESSING", "COMPLETED", "FAILED")
    private String message; // General message, or error message for a task
    private String errorCode; // Error code for a task failure

    // Fields for general robot status reporting (heartbeat, unsolicited status)
    private String robotUid; // UID of the robot sending this status
    private String actualRobotStatus; // The robot's current operational status (e.g., from RobotStatusEnum)
    private String location; // Robot's current location
    private Integer batteryLevel; // Robot's current battery level
    private Long activeTaskId; // ID of the task the robot is currently busy with (if any)

} 