去掉上级ID效验
This commit is contained in:
parent
7c01b8b0db
commit
43d828e7d0
|
@ -1,7 +1,6 @@
|
||||||
package net.maku.framework.common.utils;
|
package net.maku.framework.common.utils;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotNull;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
@ -26,7 +25,6 @@ public class TreeNode<T> implements Serializable {
|
||||||
* 上级ID
|
* 上级ID
|
||||||
*/
|
*/
|
||||||
@Schema(description = "上级ID")
|
@Schema(description = "上级ID")
|
||||||
@NotNull(message = "上级ID不能为空")
|
|
||||||
private Long pid;
|
private Long pid;
|
||||||
/**
|
/**
|
||||||
* 子节点列表
|
* 子节点列表
|
||||||
|
|
Loading…
Reference in New Issue
Block a user