<?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.property.mapper.AEquipmentManagementMapper">

    <resultMap id="BaseResultMap" type="com.zksy.property.domain.AEquipmentManagement">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="equipmentName" column="equipment_name" jdbcType="VARCHAR"/>
            <result property="equipmentType" column="equipment_type" jdbcType="VARCHAR"/>
            <result property="assetCode" column="asset_code" jdbcType="VARCHAR"/>
            <result property="assetName" column="asset_name" jdbcType="VARCHAR"/>
            <result property="roomNumber" column="room_number" jdbcType="VARCHAR"/>
            <result property="modelNumber" column="model_number" jdbcType="VARCHAR"/>
            <result property="serialNumber" column="serial_number" jdbcType="VARCHAR"/>
            <result property="purchaseDate" column="purchase_date" jdbcType="DATE"/>
            <result property="purchasePrice" column="purchase_price" jdbcType="DECIMAL"/>
            <result property="installationDate" column="installation_date" jdbcType="DATE"/>
            <result property="installationLocation" column="installation_location" jdbcType="VARCHAR"/>
            <result property="manufacturer" column="manufacturer" jdbcType="VARCHAR"/>
            <result property="warrantyPeriod" column="warranty_period" jdbcType="INTEGER"/>
            <result property="warrantyEndDate" column="warranty_end_date" jdbcType="DATE"/>
            <result property="maintenanceCycle" column="maintenance_cycle" jdbcType="INTEGER"/>
            <result property="currentStatus" column="current_status" jdbcType="VARCHAR"/>
            <result property="lastMaintenanceDate" column="last_maintenance_date" jdbcType="DATE"/>
            <result property="nextMaintenanceDate" column="next_maintenance_date" jdbcType="DATE"/>
            <result property="maintenanceCost" column="maintenance_cost" jdbcType="DECIMAL"/>
            <result property="repairRecord" column="repair_record" jdbcType="VARCHAR"/>
            <result property="operator" column="operator" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
            <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
            <result property="remark" column="remark" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,equipment_name,equipment_type,
        asset_code,asset_name,room_number,
        model_number,serial_number,purchase_date,
        purchase_price,installation_date,installation_location,
        manufacturer,warranty_period,warranty_end_date,
        maintenance_cycle,current_status,last_maintenance_date,
        next_maintenance_date,maintenance_cost,repair_record,
        operator,create_time,update_time,
        remark
    </sql>
</mapper>
