All Downloads are FREE. Search and download functionalities are using the official Maven repository.

k.e.book.ddh.mapper.CcPersonalAccessTokensMapper.xml Maven / Gradle / Ivy

<?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="k.e.book.ddh.mapper.CcPersonalAccessTokensMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="k.e.book.ddh.entity.CcPersonalAccessTokensDO">
        <id column="id" property="id" />
        <result column="tokenable_type" property="tokenableType" />
        <result column="tokenable_id" property="tokenableId" />
        <result column="name" property="name" />
        <result column="token" property="token" />
        <result column="abilities" property="abilities" />
        <result column="last_used_at" property="lastUsedAt" />
        <result column="expires_at" property="expiresAt" />
        <result column="created_at" property="createdAt" />
        <result column="updated_at" property="updatedAt" />
    </resultMap>
    <!-- 通用查询结果 -->
    <sql id="Base_Column_List">
         id, tokenable_type, tokenable_id, name, token, abilities, last_used_at, expires_at, created_at, updated_at,
    </sql>
</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy