Feat: all - support multiple platforms
This commit is contained in:
@@ -3,6 +3,7 @@ package top.fatweb.oxygen.api.vo.tool
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import top.fatweb.oxygen.api.entity.tool.ToolBase
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -49,6 +50,16 @@ data class ToolBaseVo(
|
||||
@Schema(description = "产物")
|
||||
val dist: ToolDataVo?,
|
||||
|
||||
/**
|
||||
* Platform
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ToolBase.Platform
|
||||
*/
|
||||
@Schema(description = "平台")
|
||||
val platform: ToolBase.Platform?,
|
||||
|
||||
/**
|
||||
* Compiled
|
||||
*
|
||||
|
||||
@@ -3,6 +3,7 @@ package top.fatweb.oxygen.api.vo.tool
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import top.fatweb.oxygen.api.entity.tool.ToolBase
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -49,6 +50,16 @@ data class ToolTemplateVo(
|
||||
@Schema(description = "源码")
|
||||
val source: ToolDataVo?,
|
||||
|
||||
/**
|
||||
* Platform
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ToolBase.Platform
|
||||
*/
|
||||
@Schema(description = "平台")
|
||||
val platform: ToolBase.Platform?,
|
||||
|
||||
/**
|
||||
* Entry point
|
||||
*
|
||||
|
||||
@@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
|
||||
import io.swagger.v3.oas.annotations.media.Schema
|
||||
import top.fatweb.oxygen.api.entity.tool.Tool
|
||||
import top.fatweb.oxygen.api.entity.tool.ToolBase
|
||||
import top.fatweb.oxygen.api.vo.permission.UserWithInfoVo
|
||||
import java.time.LocalDateTime
|
||||
|
||||
@@ -50,6 +51,16 @@ data class ToolVo(
|
||||
@Schema(description = "图标")
|
||||
val icon: String?,
|
||||
|
||||
/**
|
||||
* Platform
|
||||
*
|
||||
* @author FatttSnake, fatttsnake@gmail.com
|
||||
* @since 1.0.0
|
||||
* @see ToolBase.Platform
|
||||
*/
|
||||
@Schema(description = "平台")
|
||||
val platform: ToolBase.Platform?,
|
||||
|
||||
/**
|
||||
* Description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user