package tech.easyflow.skill.file;

import java.util.ArrayList;
import java.util.List;

/**
 * Skill 逻辑文件树节点。
 */
public class SkillFileNode {

    private String key;
    private String path;
    private String name;
    private String type;
    private String language;
    private String mediaType;
    private Long size;
    private List<SkillFileNode> children = new ArrayList<>();

    public String getKey() { return key; }
    public void setKey(String key) { this.key = key; }
    public String getPath() { return path; }
    public void setPath(String path) { this.path = path; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public String getLanguage() { return language; }
    public void setLanguage(String language) { this.language = language; }
    public String getMediaType() { return mediaType; }
    public void setMediaType(String mediaType) { this.mediaType = mediaType; }
    public Long getSize() { return size; }
    public void setSize(Long size) { this.size = size; }
    public List<SkillFileNode> getChildren() { return children; }
    public void setChildren(List<SkillFileNode> children) { this.children = children == null ? new ArrayList<>() : children; }
}

