<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

<mapper namespace="com.persagy.bdtp.adm.dao.AdmObjectMapper">

    <resultMap id="BaseResultMap" type="com.persagy.bdtp.adm.entity.db.AdmObject">
        <id property="id" column="id" jdbcType="VARCHAR"/>
        <result property="name" column="name" jdbcType="VARCHAR"/>
        <result property="localId" column="local_id" jdbcType="VARCHAR"/>
        <result property="localName" column="local_name" jdbcType="VARCHAR"/>
        <result property="groupCode" column="group_code" jdbcType="VARCHAR"/>
        <result property="projectId" column="project_id" jdbcType="VARCHAR"/>
        <result property="objType" column="obj_type" jdbcType="VARCHAR"/>
        <result property="classCode" column="class_code" jdbcType="VARCHAR"/>
        <result property="grouping" column="grouping" jdbcType="INTEGER"/>
        <result property="infos" column="infos" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="virtualCodes" column="virtual_codes" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="createApp" column="create_app" jdbcType="VARCHAR"/>
        <result property="updateApp" column="update_app" jdbcType="VARCHAR"/>
        <result property="creator" column="creator" jdbcType="VARCHAR"/>
        <result property="creationTime" column="creation_time" jdbcType="CHAR"/>
        <result property="modifier" column="modifier" jdbcType="VARCHAR"/>
        <result property="modifiedTime" column="modified_time" jdbcType="CHAR"/>
        <result property="valid" column="valid" jdbcType="TINYINT"/>
        <result property="ts" column="ts" jdbcType="TIMESTAMP"/>
        <result property="objFromIds" column="objFromIds" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="objToIds" column="objToIds" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="relObjs" column="relObjs" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="bimLocation" column="bimLocation" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <result property="outLines" column="outLines" jdbcType="VARCHAR"
                typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
        <!--<result property="relObjs" column="relObjs" jdbcType="VARCHAR"  typeHandler="com.persagy.dmp.basic.typehandler.RelObjsHandler"/>-->
    </resultMap>
    <!--<resultMap id="count" type="com.persagy.dmp.digital.entity.ObjectDigital">
        <result property="totalCount" column="totalCount" jdbcType="INTEGER"/>
    </resultMap>-->


</mapper>
