package com.persagy.adm.server.algorithm.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.databind.JsonNode;
import com.persagy.dmp.common.model.entity.AuditableEntity;
import lombok.Data;

/**
 * adm项目配置实体类
 * @author : lijie
 * Update By 2022/1/11 20:01
 */
@TableName(value ="project",autoResultMap = true)
@Data
public class AdmProject extends AuditableEntity<AdmProject> {

    /**项目名称*/
    private String name;

    /**模型解析的配置*/
    @TableField(value = "config_json",typeHandler = JacksonTypeHandler.class)
    private JsonNode configJson;

    /**空间类型*/
    private String type;

    /**空间code*/
    private String roomSpace;

    /**集团编码*/
    private String groupCode;

    /**集团名称*/
    private String groupName;
}