mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-11-03 22:57:14 +08:00 
			
		
		
		
	完善:完善部分类实现序列化接口
This commit is contained in:
		@@ -16,6 +16,7 @@
 | 
			
		||||
 | 
			
		||||
package top.charles7c.cnadmin.common.model.dto;
 | 
			
		||||
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
import java.time.LocalDateTime;
 | 
			
		||||
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
@@ -27,7 +28,9 @@ import lombok.Data;
 | 
			
		||||
 * @since 2022/12/25 8:59
 | 
			
		||||
 */
 | 
			
		||||
@Data
 | 
			
		||||
public class LogContext {
 | 
			
		||||
public class LogContext implements Serializable {
 | 
			
		||||
 | 
			
		||||
    private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 创建人
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,8 @@
 | 
			
		||||
 | 
			
		||||
package top.charles7c.cnadmin.common.model.vo;
 | 
			
		||||
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import lombok.NoArgsConstructor;
 | 
			
		||||
import lombok.experimental.Accessors;
 | 
			
		||||
@@ -33,7 +35,9 @@ import io.swagger.v3.oas.annotations.media.Schema;
 | 
			
		||||
@NoArgsConstructor
 | 
			
		||||
@Accessors(chain = true)
 | 
			
		||||
@Schema(description = "键值对信息")
 | 
			
		||||
public class LabelValueVO<V> {
 | 
			
		||||
public class LabelValueVO<V> implements Serializable {
 | 
			
		||||
 | 
			
		||||
    private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 标签
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,7 @@
 | 
			
		||||
 | 
			
		||||
package top.charles7c.cnadmin.common.model.vo;
 | 
			
		||||
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
@@ -40,7 +41,9 @@ import cn.hutool.core.collection.CollUtil;
 | 
			
		||||
@Data
 | 
			
		||||
@Accessors(chain = true)
 | 
			
		||||
@Schema(description = "分页信息")
 | 
			
		||||
public class PageDataVO<V> {
 | 
			
		||||
public class PageDataVO<V> implements Serializable {
 | 
			
		||||
 | 
			
		||||
    private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 列表数据
 | 
			
		||||
 
 | 
			
		||||
@@ -16,6 +16,8 @@
 | 
			
		||||
 | 
			
		||||
package top.charles7c.cnadmin.common.model.vo;
 | 
			
		||||
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
 | 
			
		||||
import lombok.AccessLevel;
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import lombok.NoArgsConstructor;
 | 
			
		||||
@@ -33,7 +35,9 @@ import org.springframework.http.HttpStatus;
 | 
			
		||||
@Data
 | 
			
		||||
@NoArgsConstructor(access = AccessLevel.PRIVATE)
 | 
			
		||||
@Schema(description = "响应信息")
 | 
			
		||||
public class R<V> {
 | 
			
		||||
public class R<V> implements Serializable {
 | 
			
		||||
 | 
			
		||||
    private static final long serialVersionUID = 1L;
 | 
			
		||||
 | 
			
		||||
    /** 是否成功 */
 | 
			
		||||
    @Schema(description = "是否成功")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user