srt_cloud/srt-cloud-data-governance/src/main/java/net/srt/entity/StandardEntity.java

57 lines
939 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package net.srt.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import net.srt.framework.mybatis.entity.BaseEntity;
/**
* 文件分组表
*
* @author zrx 985134801@qq.com
* @since 1.0.0 2022-11-12
*/
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "data_dispatch_catalogue", autoResultMap = true)
public class StandardEntity extends BaseEntity {
/**
* 父级id顶级为0
*/
private Long parentId;
/**
* 分组名称
*/
private String name;
/**
* 分组序号
*/
private Integer orderNo;
/**
* 描述
*/
private String description;
/**
* 分组路径
*/
private String path;
private Integer type;
/**
* 项目id
*/
private Long projectId;
}