<?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.tofly.gpsboot.mapper.plan.PlanregionMapper">

    <resultMap id="planregionMap" type="com.tofly.pojo.plan.Planregion">
        <id property="id" column="ID"/>
        <result property="name" column="NAME"/>
        <result property="inspectType" column="INSPECT_TYPE"/>
        <result property="geometry" column="GEOMETRY"/>
        <result property="length" column="LENGTH"/>
        <result property="note" column="NOTE"/>
        <result property="isUse" column="IS_USE"/>
        <result property="createTime" column="CREATE_TIME"/>
        <result property="createUser" column="CREATE_USER"/>
        <result property="isdelete" column="ISDELETE"/>
        <association property="createUserName" column="CREATE_USER" select="com.tofly.gpsboot.mapper.plan.HydrantrecordMapper.getRealName"/>
    </resultMap>
</mapper>
