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_docker_container_info")
public class DockerContainerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录获取时间
     */
    @TableField("get_time")
    private String getTime;

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

    /**
     * 容器 ID
     */
    @TableField("container_id")
    private String containerId;

    /**
     * 镜像名称
     */
    @TableField("image_name")
    private String imageName;

    /**
     * 启动命令
     */
    @TableField("command")
    private String command;

    /**
     * 容器创建时间
     */
    @TableField("created_at")
    private String createdAt;

    /**
     * 容器状态
     */
    @TableField("ustatus")
    private String ustatus;

    /**
     * 端口映射信息
     */
    @TableField("ports")
    private String ports;

    /**
     * 容器名称
     */
    @TableField("unames")
    private String unames;

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

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