<?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.sckw.payment.dao.KwpLedgerTradeUnitMapper">
  <resultMap id="BaseResultMap" type="com.sckw.payment.model.KwpLedgerTradeUnit">
    <!--@mbg.generated-->
    <!--@Table kwp_ledger_trade_unit-->
    <id column="id" jdbcType="BIGINT" property="id" />
    <result column="t_ledger_id" jdbcType="BIGINT" property="tLedgerId" />
    <result column="t_ledger_no" jdbcType="VARCHAR" property="tLedgerNo" />
    <result column="unit_type" jdbcType="INTEGER" property="unitType" />
    <result column="ent_id" jdbcType="BIGINT" property="entId" />
    <result column="top_ent_id" jdbcType="BIGINT" property="topEntId" />
    <result column="firm_name" jdbcType="VARCHAR" property="firmName" />
    <result column="contacts" jdbcType="VARCHAR" property="contacts" />
    <result column="phone" jdbcType="VARCHAR" property="phone" />
    <result column="remark" jdbcType="VARCHAR" property="remark" />
    <result column="status" jdbcType="INTEGER" property="status" />
    <result column="create_by" jdbcType="BIGINT" property="createBy" />
    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
    <result column="update_by" jdbcType="BIGINT" property="updateBy" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="del_flag" jdbcType="INTEGER" property="delFlag" />
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    id, t_ledger_id, t_ledger_no, unit_type, ent_id, top_ent_id, firm_name, contacts, 
    phone, remark, `status`, create_by, create_time, update_by, update_time, del_flag
  </sql>
</mapper>