package com.ssyf.module.resource.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ssyf.plugs.pedigree.DataPedigree;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文档分组
 * @author huwei
 * @date 2024/4/18 13:40
 */
@Data
@Accessors(chain = true)
public class Filesystem extends DataPedigree implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 宿主id
     */
    private String hostId;
    private String uid;
    /**
     * 分组名称
     */
    private String name;
    /**
     * 类型；
     * 1 目录
     * 2 文档
     */
    private Integer type;
    /**
     * 内容
     */
    private String content;
    /**
     * 排序值，正序
     */
    private Integer sortOrder;

    private String creatorUid;

    private String creator;

    private LocalDateTime createdTime;


}