111
This commit is contained in:
1 parent
68a2b4f68c
commit
7cd697187c
308 files changed
+30454
-75
No files matched your search
@@ -0,0 +1,135 @@
|
||||
package com.luqj.ec.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;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
/**
|
||||
* 控制指令(单条指令)对象 ec_device_command
|
||||
*
|
||||
* @author luqj
|
||||
* @date 2026-02-27
|
||||
*/
|
||||
@TableName(value = "ec_device_command")
|
||||
public class EcDeviceCommandPlus implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键 */
|
||||
private Long id;
|
||||
/** 设备ID */
|
||||
@Excel(name = "设备ID")
|
||||
private Long deviceId;
|
||||
/** 命令类型 */
|
||||
@Excel(name = "命令类型")
|
||||
private String commandType;
|
||||
/** 指令参数 */
|
||||
@Excel(name = "指令参数")
|
||||
private String commandContent;
|
||||
/** 状态 */
|
||||
@Excel(name = "状态")
|
||||
private Integer status;
|
||||
/** 发送时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "发送时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date sendTime;
|
||||
/** 执行时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date executeTime;
|
||||
/** 完成时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date finishTime;
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setDeviceId(Long deviceId)
|
||||
{
|
||||
this.deviceId = deviceId;
|
||||
}
|
||||
|
||||
public Long getDeviceId()
|
||||
{
|
||||
return deviceId;
|
||||
}
|
||||
public void setCommandType(String commandType)
|
||||
{
|
||||
this.commandType = commandType;
|
||||
}
|
||||
|
||||
public String getCommandType()
|
||||
{
|
||||
return commandType;
|
||||
}
|
||||
public void setCommandContent(String commandContent)
|
||||
{
|
||||
this.commandContent = commandContent;
|
||||
}
|
||||
|
||||
public String getCommandContent()
|
||||
{
|
||||
return commandContent;
|
||||
}
|
||||
public void setStatus(Integer status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
public void setSendTime(Date sendTime)
|
||||
{
|
||||
this.sendTime = sendTime;
|
||||
}
|
||||
|
||||
public Date getSendTime()
|
||||
{
|
||||
return sendTime;
|
||||
}
|
||||
public void setExecuteTime(Date executeTime)
|
||||
{
|
||||
this.executeTime = executeTime;
|
||||
}
|
||||
|
||||
public Date getExecuteTime()
|
||||
{
|
||||
return executeTime;
|
||||
}
|
||||
public void setFinishTime(Date finishTime)
|
||||
{
|
||||
this.finishTime = finishTime;
|
||||
}
|
||||
|
||||
public Date getFinishTime()
|
||||
{
|
||||
return finishTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("deviceId", getDeviceId())
|
||||
.append("commandType", getCommandType())
|
||||
.append("commandContent", getCommandContent())
|
||||
.append("status", getStatus())
|
||||
.append("sendTime", getSendTime())
|
||||
.append("executeTime", getExecuteTime())
|
||||
.append("finishTime", getFinishTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user