<?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.AEquipmentLedgerMapper">

    <resultMap id="BaseResultMap" type="com.zksy.property.domain.AEquipmentLedger">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="equipmentId" column="equipment_id" jdbcType="VARCHAR"/>
            <result property="equipmentName" column="equipment_name" jdbcType="VARCHAR"/>
            <result property="equipmentType" column="equipment_type" jdbcType="VARCHAR"/>
            <result property="model" column="model" jdbcType="VARCHAR"/>
            <result property="specification" column="specification" jdbcType="VARCHAR"/>
            <result property="manufacturer" column="manufacturer" jdbcType="VARCHAR"/>
            <result property="productionDate" column="production_date" jdbcType="DATE"/>
            <result property="purchaseDate" column="purchase_date" jdbcType="DATE"/>
            <result property="department" column="department" jdbcType="VARCHAR"/>
            <result property="location" column="location" jdbcType="VARCHAR"/>
            <result property="warrantyPeriod" column="warranty_period" jdbcType="VARCHAR"/>
            <result property="warrantyPhoneNumber" column="warranty_phone_number" jdbcType="VARCHAR"/>
            <result property="responsiblePerson" column="responsible_person" jdbcType="VARCHAR"/>
            <result property="activeState" column="active_state" jdbcType="VARCHAR"/>
            <result property="description" column="description" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
            <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,equipment_id,equipment_name,
        equipment_type,model,specification,
        manufacturer,production_date,purchase_date,
        department,location,warranty_period,
        warranty_phone_number,responsible_person,active_state,
        description,create_time,create_by,
        update_time,update_by
    </sql>
</mapper>
