<?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.diagbot.mapper.MedTransferRecordMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.diagbot.entity.MedTransferRecord">
        <id column="id" property="id" />
        <result column="hospital_id" property="hospitalId" />
        <result column="behospital_code" property="behospitalCode" />
        <result column="name" property="name" />
        <result column="sex" property="sex" />
        <result column="age" property="age" />
        <result column="dept_name" property="deptName" />
        <result column="transfer_out_date" property="transferOutDate" />
        <result column="transfer_in_date" property="transferInDate" />
        <result column="transfer_out_dept" property="transferOutDept" />
        <result column="transfer_in_dept" property="transferInDept" />
        <result column="rec_doctor" property="recDoctor" />
        <result column="rec_date" property="recDate" />
        <result column="remark" property="remark" />
        <result column="is_deleted" property="isDeleted" />
        <result column="gmt_create" property="gmtCreate" />
        <result column="gmt_modified" property="gmtModified" />
        <result column="creator" property="creator" />
        <result column="modifier" property="modifier" />
    </resultMap>

</mapper>
