| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- package com.ruoyi.base.domain;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import org.apache.commons.lang3.builder.ToStringBuilder;
- import org.apache.commons.lang3.builder.ToStringStyle;
- import com.ruoyi.common.annotation.Excel;
- import com.ruoyi.common.core.domain.BaseEntity;
- /**
- * 运行日志对象 robot_ops_sys_log
- *
- * @author ruoyi
- * @date 2026-05-18
- */
- public class RobotOpsSysLog extends BaseEntity
- {
- private static final long serialVersionUID = 1L;
- /** 主键ID */
- private Long id;
- /** 机器人编号 */
- @Excel(name = "机器人编号")
- private String robotCode;
- /** 日志时间,设备侧或服务侧日志发生时间 */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "日志时间,设备侧或服务侧日志发生时间", width = 30, dateFormat = "yyyy-MM-dd")
- private Date logTime;
- /** 日志接收时间 */
- @JsonFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "日志接收时间", width = 30, dateFormat = "yyyy-MM-dd")
- private Date receiveTime;
- /** 日志类型 */
- @Excel(name = "日志类型")
- private String logType;
- /** 日志级别 */
- @Excel(name = "日志级别")
- private String logLevel;
- /** 模块名称,如 screen、audio、camera、network、ota */
- @Excel(name = "模块名称,如 screen、audio、camera、network、ota")
- private String moduleName;
- /** 日志摘要 */
- @Excel(name = "日志摘要")
- private String contentSummary;
- /** 日志内容 */
- @Excel(name = "日志内容")
- private String content;
- /** 结果状态 */
- @Excel(name = "结果状态")
- private String resultStatus;
- /** 链路追踪ID */
- @Excel(name = "链路追踪ID")
- private String traceId;
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setRobotCode(String robotCode)
- {
- this.robotCode = robotCode;
- }
- public String getRobotCode()
- {
- return robotCode;
- }
- public void setLogTime(Date logTime)
- {
- this.logTime = logTime;
- }
- public Date getLogTime()
- {
- return logTime;
- }
- public void setReceiveTime(Date receiveTime)
- {
- this.receiveTime = receiveTime;
- }
- public Date getReceiveTime()
- {
- return receiveTime;
- }
- public void setLogType(String logType)
- {
- this.logType = logType;
- }
- public String getLogType()
- {
- return logType;
- }
- public void setLogLevel(String logLevel)
- {
- this.logLevel = logLevel;
- }
- public String getLogLevel()
- {
- return logLevel;
- }
- public void setModuleName(String moduleName)
- {
- this.moduleName = moduleName;
- }
- public String getModuleName()
- {
- return moduleName;
- }
- public void setContentSummary(String contentSummary)
- {
- this.contentSummary = contentSummary;
- }
- public String getContentSummary()
- {
- return contentSummary;
- }
- public void setContent(String content)
- {
- this.content = content;
- }
- public String getContent()
- {
- return content;
- }
- public void setResultStatus(String resultStatus)
- {
- this.resultStatus = resultStatus;
- }
- public String getResultStatus()
- {
- return resultStatus;
- }
- public void setTraceId(String traceId)
- {
- this.traceId = traceId;
- }
- public String getTraceId()
- {
- return traceId;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("robotCode", getRobotCode())
- .append("logTime", getLogTime())
- .append("receiveTime", getReceiveTime())
- .append("logType", getLogType())
- .append("logLevel", getLogLevel())
- .append("moduleName", getModuleName())
- .append("contentSummary", getContentSummary())
- .append("content", getContent())
- .append("resultStatus", getResultStatus())
- .append("traceId", getTraceId())
- .append("remark", getRemark())
- .append("createTime", getCreateTime())
- .toString();
- }
- }
|