Refactor(Entity): Add implement Serializable
Add implement Serializable to entity
This commit is contained in:
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.*
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler
|
||||
import com.fasterxml.jackson.annotation.JsonValue
|
||||
import top.fatweb.oxygen.api.entity.permission.User
|
||||
import java.io.Serializable
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -13,7 +14,7 @@ import java.time.LocalDateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TableName("t_b_tool_main", autoResultMap = true)
|
||||
class Tool {
|
||||
class Tool : Serializable {
|
||||
/**
|
||||
* Tool review type enum
|
||||
*
|
||||
|
||||
@@ -2,6 +2,7 @@ package top.fatweb.oxygen.api.entity.tool
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*
|
||||
import com.fasterxml.jackson.annotation.JsonValue
|
||||
import java.io.Serializable
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -11,7 +12,7 @@ import java.time.LocalDateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TableName("t_b_tool_base")
|
||||
class ToolBase {
|
||||
class ToolBase : Serializable {
|
||||
/**
|
||||
* Platform enum
|
||||
*
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package top.fatweb.oxygen.api.entity.tool
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*
|
||||
import java.io.Serializable
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -10,7 +11,7 @@ import java.time.LocalDateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TableName("t_b_tool_category")
|
||||
class ToolCategory {
|
||||
class ToolCategory : Serializable {
|
||||
/**
|
||||
* ID
|
||||
*
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package top.fatweb.oxygen.api.entity.tool
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*
|
||||
import java.io.Serializable
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -10,7 +11,7 @@ import java.time.LocalDateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TableName("t_b_tool_data")
|
||||
class ToolData {
|
||||
class ToolData : Serializable {
|
||||
/**
|
||||
* ID
|
||||
*
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package top.fatweb.oxygen.api.entity.tool
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*
|
||||
import java.io.Serializable
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
@@ -10,7 +11,7 @@ import java.time.LocalDateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@TableName("t_b_tool_template")
|
||||
class ToolTemplate {
|
||||
class ToolTemplate : Serializable {
|
||||
/**
|
||||
* ID
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user