package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.knowledge.annotation.ExcelOut;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 法律法规表(TLaws)表实体类
 *
 * @author makejava
 * @since 2024-04-12 10:31:34
 */
@Data
public class TMapNode extends BaseDO {

    @Schema(description = "主键", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "文件的唯一编码", example = "ABC123")
    private Long mapId;

    @Schema(description = "名称", example = "文件名称")
    private String modelTag;

    @Schema(description = "名称", example = "文件名称")
    private int orders;

    @Schema(description = "名称", example = "文件名称")
    private String content;

    @Schema(description = "创建者", example = "John Doe")
    private String creator;

    @Schema(description = "创建者id", example = "1001")
    private String creatorId;

    @TableField(
        fill = FieldFill.INSERT
    )


    @Schema(description = "父级地图节点", example = "list")
    private Long parentId;

}

