package thyyxxk.webserver.entity.reports.reportQueryCenter;

import java.awt.*;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@TableName(value = "report_forms")
public class ReportForms implements Serializable {

    private static final long serialVersionUID = 2422476401986654176L;

    /**
     * 雪花算法的id
     */
    @TableId(type = IdType.NONE, value = "id")
    private String id;

    /**
     * 表单名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 页面的json
     */
    @TableField(value = "page_json")
    private String pageJson;

    /**
     * 0-文件 1-文件夹
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 父节点名字
     */
    @TableField(value = "parent_id")
    private String parentId;

    @TableField(exist = false)
    private List<ReportForms> children;

}
