Skip to content

Commit

Permalink
refactor: Term实现序列化接口 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao authored Oct 26, 2023
1 parent 1297234 commit 48e173e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import lombok.Setter;
import lombok.SneakyThrows;

import java.io.Serializable;
import java.util.*;
import java.util.stream.Collectors;

Expand All @@ -18,7 +19,8 @@
@SuppressWarnings("all")
@Getter
@Setter
public class Param implements Cloneable {
public class Param implements Cloneable, Serializable {
private static final long serialVersionUID = 1L;

/**
* 条件
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import lombok.Setter;
import lombok.SneakyThrows;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
Expand All @@ -16,7 +17,8 @@
*/
@Getter
@Setter
public class Term implements Cloneable {
public class Term implements Serializable,Cloneable {
private static final long serialVersionUID = 1L;

/**
* 字段
Expand Down

0 comments on commit 48e173e

Please sign in to comment.