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_disk_mount")
public class DiskMount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("create_time")
    private String createTime;

    @TableField("sys_host_id")
    private String sysHostId;

    /**
     * 设备分区
     */
    @TableField("disk_fs")
    private String diskFs;

    /**
     * 总容量
     */
    @TableField("size_kb")
    private String sizeKb;

    /**
     * 已用容量
     */
    @TableField("used_kb")
    private String usedKb;

    /**
     * 可用容量
     */
    @TableField("avail_kb")
    private String availKb;

    /**
     * 磁盘使用率
     */
    @TableField("use_ratio")
    private String useRatio;

    /**
     * 挂载路径
     */
    @TableField("mount_point")
    private String mountPoint;

    @TableId(value = "disk_mount_id", type = IdType.AUTO)
    private String diskMountId;

    @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 "DiskMount{" +
                "sysHostId='" + sysHostId + '\'' +
                ", diskFs='" + diskFs + '\'' +
                ", sizeKb=" + sizeKb +
                ", usedKb=" + usedKb +
                ", availKb=" + availKb +
                ", useRatio=" + useRatio +
                ", mountPoint='" + mountPoint + '\'' +
                '}';
    }
}
