<?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.ruoyi.demo.mapper.BsLeaveMapper">

    <resultMap type="com.ruoyi.demo.domain.BsLeave" id="BsLeaveResult">
        <result property="id" column="id"/>
        <result property="username" column="username"/>
        <result property="duration" column="duration"/>
        <result property="principal" column="principal"/>
        <result property="contactPhone" column="contact_phone"/>
        <result property="leaveType" column="leave_type"/>
        <result property="title" column="title"/>
        <result property="leaveReason" column="leave_reason"/>
        <result property="startDate" column="start_date"/>
        <result property="endDate" column="end_date"/>
        <result property="createTime" column="create_time"/>
        <result property="updateTime" column="update_time"/>
        <result property="createBy" column="create_by"/>
        <result property="updateBy" column="update_by"/>
    </resultMap>


</mapper>
