<?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.jeeplus.sys.mapper.CertMapper">

    <resultMap id="BaseResultMap" type="com.jeeplus.sys.service.dto.CertDTO">
            <id property="id" column="id" jdbcType="VARCHAR"/>
            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
            <result property="userId" column="user_id" jdbcType="VARCHAR"/>
            <result property="type" column="type" jdbcType="VARCHAR"/>
            <result property="no" column="no" jdbcType="VARCHAR"/>
            <result property="authorities" column="authorities" jdbcType="VARCHAR"/>
            <result property="issuedDate" column="issued_date" jdbcType="TIMESTAMP"/>
            <result property="enrollDate" column="enroll_date" jdbcType="TIMESTAMP"/>
            <result property="expireDate" column="expire_date" jdbcType="TIMESTAMP"/>
            <result property="enrollCertNo" column="enroll_cert_no" jdbcType="VARCHAR"/>
            <result property="profession" column="profession" jdbcType="VARCHAR"/>
            <result property="fileUrl" column="file_url" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        cert.id,
        cert.create_by,
        cert.create_date,
        cert.update_by,
        cert.update_date,
        cert.del_flag,
        cert.remarks,
        cert.user_id,
        cert.type,
        cert.no,
        cert.authorities,
        cert.issued_date,
        cert.enroll_date,
        cert.expire_date,
        cert.enroll_cert_no,
        cert.profession,
        cert.file_url
    </sql>
</mapper>
