mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善permissiondto
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package cn.lihongjie.coal.dto;
|
||||
|
||||
import cn.lihongjie.coal.dto.base.OrgCommonDto;
|
||||
import com.fasterxml.jackson.annotation.JsonBackReference;
|
||||
import com.fasterxml.jackson.annotation.JsonManagedReference;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.Data;
|
||||
import org.hibernate.annotations.Comment;
|
||||
|
||||
@@ -20,8 +17,8 @@ public class PermissionDto extends OrgCommonDto {
|
||||
public static class ResourceDto extends OrgCommonDto {
|
||||
|
||||
|
||||
@OneToMany(mappedBy = "parent")
|
||||
private List<ResourceDto> children;
|
||||
// @OneToMany(mappedBy = "parent")
|
||||
// private List<ResourceDto> children;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user