85 lines
2.2 KiB
Java
85 lines
2.2 KiB
Java
|
|
package com.cmvr.inspection.domain;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||
|
|
import io.swagger.annotations.ApiModel;
|
||
|
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.EqualsAndHashCode;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
import com.cmvr.common.annotation.Excel;
|
||
|
|
import com.cmvr.common.core.domain.BaseEntity;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 巡检机器人对象 inspection_robot
|
||
|
|
*
|
||
|
|
* @author cmvr-iot
|
||
|
|
* @since 2026-05-29
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@AllArgsConstructor
|
||
|
|
@NoArgsConstructor
|
||
|
|
@EqualsAndHashCode(callSuper = true)
|
||
|
|
@ApiModel("巡检机器人")
|
||
|
|
public class InspectionRobot extends BaseEntity
|
||
|
|
{
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
/** id */
|
||
|
|
@ApiModelProperty("id")
|
||
|
|
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||
|
|
private String id;
|
||
|
|
|
||
|
|
/** 机器人编码 */
|
||
|
|
@Excel(name = "机器人编码")
|
||
|
|
@ApiModelProperty("机器人编码")
|
||
|
|
private String robotCode;
|
||
|
|
|
||
|
|
/** 机器人名称 */
|
||
|
|
@Excel(name = "机器人名称")
|
||
|
|
@ApiModelProperty("机器人名称")
|
||
|
|
private String robotName;
|
||
|
|
|
||
|
|
/** 机器人型号 */
|
||
|
|
@Excel(name = "机器人型号")
|
||
|
|
@ApiModelProperty("机器人型号")
|
||
|
|
private String robotModel;
|
||
|
|
|
||
|
|
/** 机器人类型 */
|
||
|
|
@Excel(name = "机器人类型")
|
||
|
|
@ApiModelProperty("机器人类型")
|
||
|
|
private String robotType;
|
||
|
|
|
||
|
|
/** IP地址 */
|
||
|
|
@Excel(name = "IP地址")
|
||
|
|
@ApiModelProperty("IP地址")
|
||
|
|
private String ipAddress;
|
||
|
|
|
||
|
|
/** 端口号 */
|
||
|
|
@Excel(name = "端口号")
|
||
|
|
@ApiModelProperty("端口号")
|
||
|
|
private Integer port;
|
||
|
|
|
||
|
|
/** 当前地图 */
|
||
|
|
@Excel(name = "当前地图")
|
||
|
|
@ApiModelProperty("当前地图")
|
||
|
|
private String currentMapId;
|
||
|
|
|
||
|
|
/** 当前状态 */
|
||
|
|
@Excel(name = "当前状态")
|
||
|
|
@ApiModelProperty("当前状态(0在线 1离线 2充电中 3巡检中)")
|
||
|
|
private String status;
|
||
|
|
|
||
|
|
/** 电量百分比 */
|
||
|
|
@Excel(name = "电量百分比")
|
||
|
|
@ApiModelProperty("电量百分比")
|
||
|
|
private Integer batteryLevel;
|
||
|
|
|
||
|
|
/** 当前位置 */
|
||
|
|
@Excel(name = "当前位置")
|
||
|
|
@ApiModelProperty("当前位置")
|
||
|
|
private String currentPosition;
|
||
|
|
|
||
|
|
}
|