110 lines
2.2 KiB
Java
110 lines
2.2 KiB
Java
package com.mini.capi.biz.domain;
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
/**
|
|
* <p>
|
|
*
|
|
* </p>
|
|
*
|
|
* @author gaoxq
|
|
* @since 2025-08-24
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
@TableName("biz_sys_host")
|
|
public class SysHost implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableField("create_time")
|
|
private LocalDateTime createTime;
|
|
|
|
@TableId(value = "sys_host_id", type = IdType.AUTO)
|
|
private String sysHostId;
|
|
|
|
/**
|
|
* 人工/系统指定的主机唯一标识
|
|
*/
|
|
@TableField("host_tag")
|
|
private String hostTag;
|
|
|
|
@TableField("hostname")
|
|
private String hostname;
|
|
|
|
/**
|
|
* CPU架构
|
|
*/
|
|
@TableField("cpu_arch")
|
|
private String cpuArch;
|
|
|
|
/**
|
|
* CPU型号
|
|
*/
|
|
@TableField("cpu_model")
|
|
private String cpuModel;
|
|
|
|
/**
|
|
* CP 核心数
|
|
*/
|
|
@TableField("cpu_cores")
|
|
private Integer cpuCores;
|
|
|
|
/**
|
|
* CPU使用率
|
|
*/
|
|
@TableField("cpu_usage")
|
|
private String cpuUsage;
|
|
|
|
@TableField("doker_host_id")
|
|
private String dokerHostId;
|
|
|
|
@TableField("update_time")
|
|
private String updateTime;
|
|
|
|
/**
|
|
* 租户id
|
|
*/
|
|
@TableField("f_tenant_id")
|
|
private String fTenantId;
|
|
|
|
/**
|
|
* 流程id
|
|
*/
|
|
@TableField("f_flow_id")
|
|
private String fFlowId;
|
|
|
|
/**
|
|
* 流程任务主键
|
|
*/
|
|
@TableField("f_flow_task_id")
|
|
private String fFlowTaskId;
|
|
|
|
/**
|
|
* 流程任务状态
|
|
*/
|
|
@TableField("f_flow_state")
|
|
private Integer fFlowState;
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "SysHost{" +
|
|
"sysHostId='" + sysHostId + '\'' +
|
|
", hostTag='" + hostTag + '\'' +
|
|
", hostname='" + hostname + '\'' +
|
|
", cpuArch='" + cpuArch + '\'' +
|
|
", cpuModel='" + cpuModel + '\'' +
|
|
", cpuCores=" + cpuCores +
|
|
", cpuUsage='" + cpuUsage + '\'' +
|
|
'}';
|
|
}
|
|
}
|