feat(nex-be): 添加镜像操作相关请求类
- 新增 ImageCloneToDesktopReq 类,用于克隆虚拟机到桌面镜像的请求 - 新增 ImageDeleteReq 类,用于删除镜像的请求 - 新增 ImageOperationReq 类,用于通用镜像操作的请求 这些请求类将用于处理镜像相关的API请求,方便数据传输和解析。master
parent
4cc564c554
commit
dd2731b661
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.unisinsight.project.mapper.ImageVirtualMachinesMapper">
|
||||
|
||||
<resultMap type="com.unisinsight.project.entity.dao.ImageVirtualMachines" id="ImageVirtualMachinesMap">
|
||||
<result property="id" column="id" jdbcType="INTEGER"/>
|
||||
<result property="imageName" column="image_name" jdbcType="VARCHAR"/>
|
||||
<result property="imageStatus" column="image_status" jdbcType="INTEGER"/>
|
||||
<result property="imageSystemId" column="image_system_id" jdbcType="VARCHAR"/>
|
||||
<result property="osVersion" column="os_version" jdbcType="VARCHAR"/>
|
||||
<result property="storagePath" column="storage_path" jdbcType="VARCHAR"/>
|
||||
<result property="createTime" column="create_time" jdbcType="VARCHAR"/>
|
||||
<result property="createUser" column="create_user" jdbcType="VARCHAR"/>
|
||||
<result property="updateTime" column="update_time" jdbcType="VARCHAR"/>
|
||||
<result property="updateUser" column="update_user" jdbcType="VARCHAR"/>
|
||||
<result property="deleted" column="deleted" jdbcType="INTEGER"/>
|
||||
<result property="description" column="description" jdbcType="VARCHAR"/>
|
||||
<result property="cpuTotal" column="cpu_total" jdbcType="INTEGER"/>
|
||||
<result property="cpuCoreTotal" column="cpu_core_total" jdbcType="INTEGER"/>
|
||||
<result property="memoryTotal" column="memory_total" jdbcType="INTEGER"/>
|
||||
<result property="systemTotal" column="system_total" jdbcType="INTEGER"/>
|
||||
<result property="networkModule" column="network_module" jdbcType="VARCHAR"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id, image_name, image_status, image_system_id, os_version, storage_path, create_time, create_user, update_time, update_user, deleted, description, cpu_total, cpu_core_total, memory_total, system_total, network_module
|
||||
</sql>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Loading…
Reference in New Issue