package org.dromara.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 集群配置对象 sen_cluster_nodes
 *
 * @author luogang
 * @date 2024-09-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sen_cluster_nodes")
public class SenClusterNodes extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 节点id
     */
    @TableId(value = "node_id",type = IdType.AUTO)
    private Long nodeId;
    /**
     * 节点名称
     */
    private String nodeName;
    /**
     * 硬件类型
     */
    private String hardwareType;

    /**
     * 算法提供商
     */
    private String algorithmProvider;

    /**
     * 节点算力
     */
    private Long computePower;

    /**
     * 节点IP
     */
    private String nodeIp;

    /**
     * 算力路数
     */
    private Long computePaths;

    /**
     * 运行中任务数
     */
    private Long runningTasks;

    /**
     * 运行状态（0-运行中 1-已停止2-运行报错）
     */
    private String runningStatus;

    /**
     * 描述
     */
    private String nodeDesc;


}
