package com.zxdmy.excite.system.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class FileTreeDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String title;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long fileParentId;
    private Integer fileSort;
    private List<FileTreeDTO> children;
    private Boolean spread = true; // Layui树节点是否展开

    private String checked;
}
