<?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="generator.mapper.MaterialSupplierLinkMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.test.materialManagement.supplier.service.dto.MaterialSupplierLinkDTO">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
            <result property="name" column="name" jdbcType="VARCHAR"/>
            <result property="office" column="office" jdbcType="VARCHAR"/>
            <result property="position" column="position" jdbcType="VARCHAR"/>
            <result property="sex" column="sex" jdbcType="VARCHAR"/>
            <result property="linkPhone" column="link_phone" jdbcType="VARCHAR"/>
            <result property="linkMobile" column="link_mobile" jdbcType="VARCHAR"/>
            <result property="email" column="email" jdbcType="VARCHAR"/>
            <result property="supplierId" column="supplier_id" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        msl.id,
        msl.create_by,
        msl.create_date,
        msl.update_by,
        msl.update_date,
        msl.del_flag,
        msl.remarks,
        msl.name,
        msl.office,
        msl.position,
        msl.sex,
        msl.link_phone,
        msl.link_mobile,
        msl.email,
        msl.supplier_id
    </sql>
</mapper>
