20 lines
889 B
XML
20 lines
889 B
XML
|
<?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.fuyuanshen.equipment.mapper.DeviceAssignmentsMapper">
|
||
|
|
||
|
<resultMap id="BaseResultMap" type="com.fuyuanshen.equipment.domain.DeviceAssignments">
|
||
|
<id property="id" column="id" />
|
||
|
<result property="deviceId" column="device_id" />
|
||
|
<result property="fromCustomerId" column="from_customer_id" />
|
||
|
<result property="toCustomerId" column="to_customer_id" />
|
||
|
<result property="assignedAt" column="assigned_at" />
|
||
|
<result property="deviceTypeGranted" column="device_type_granted" />
|
||
|
</resultMap>
|
||
|
|
||
|
<sql id="Base_Column_List">
|
||
|
id,device_id,from_customer_id,to_customer_id,assigned_at,device_type_granted
|
||
|
</sql>
|
||
|
</mapper>
|