ServiceFileTreeDO.java 822 Bytes
package com.subsidy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文件目录树
 * </p>
 *
 * @author Tuyp
 * @since 2024-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("service_file_tree")
public class ServiceFileTreeDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 业务id
     */
    private Long serviceId;

    /**
     * 父节点
     */
    private Long parentId;

    private String treeName;


}