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.Serial;
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_docker_host")
public class DockerHost implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 主键
     */
    @TableId(value = "doker_host_id", type = IdType.AUTO)
    private String dokerHostId;

    /**
     * 账户编码
     */
    @TableField("user_id")
    private String userId;

    /**
     * 主机编码
     */
    @TableField("host_id")
    private String hostId;

    /**
     * 主机IP
     */
    @TableField("host_ip")
    private String hostIp;

    /**
     * 容器总数量
     */
    @TableField("all_num")
    private Long allNum;

    /**
     * 运行总数量
     */
    @TableField("run_num")
    private Long runNum;

    @TableField("update_time")
    private String updateTime;

    /**
     * 描述
     */
    @TableField("remark")
    private String remark;

    /**
     * 租户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;
}
