<?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.zksy.api.mapper.WarningThresholdMapper">

    <resultMap id="BaseResultMap" type="com.zksy.api.domain.WarningThreshold">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="deviceName" column="device_name" jdbcType="VARCHAR"/>
            <result property="deviceCode" column="device_code" jdbcType="VARCHAR"/>
            <result property="deviceType" column="device_type" jdbcType="VARCHAR"/>
            <result property="warningType" column="warning_type" jdbcType="VARCHAR"/>
            <result property="warningCode" column="warning_code" jdbcType="VARCHAR"/>
            <result property="warningValue" column="warning_value" jdbcType="DOUBLE"/>
            <result property="remark" column="remark" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,device_name,device_code,device_type
        warning_type,warning_code,warning_value,
        remark,create_time,update_time
    </sql>
</mapper>
