FileDetailMapper.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="jnpf.mapper.FileDetailMapper">
  4. <resultMap id="BaseResultMap" type="jnpf.entity.FileDetail">
  5. <!--@mbg.generated-->
  6. <!--@Table file_detail-->
  7. <id column="id" jdbcType="VARCHAR" property="id" />
  8. <result column="url" jdbcType="VARCHAR" property="url" />
  9. <result column="size" jdbcType="BIGINT" property="size" />
  10. <result column="filename" jdbcType="VARCHAR" property="filename" />
  11. <result column="original_filename" jdbcType="VARCHAR" property="originalFilename" />
  12. <result column="base_path" jdbcType="VARCHAR" property="basePath" />
  13. <result column="path" jdbcType="VARCHAR" property="path" />
  14. <result column="ext" jdbcType="VARCHAR" property="ext" />
  15. <result column="content_type" jdbcType="VARCHAR" property="contentType" />
  16. <result column="platform" jdbcType="VARCHAR" property="platform" />
  17. <result column="th_url" jdbcType="VARCHAR" property="thUrl" />
  18. <result column="th_filename" jdbcType="VARCHAR" property="thFilename" />
  19. <result column="th_size" jdbcType="BIGINT" property="thSize" />
  20. <result column="th_content_type" jdbcType="VARCHAR" property="thContentType" />
  21. <result column="object_id" jdbcType="VARCHAR" property="objectId" />
  22. <result column="object_type" jdbcType="VARCHAR" property="objectType" />
  23. <result column="attr" jdbcType="LONGVARCHAR" property="attr" />
  24. <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
  25. </resultMap>
  26. <sql id="Base_Column_List">
  27. <!--@mbg.generated-->
  28. id, url, `size`, filename, original_filename, base_path, `path`, ext, content_type,
  29. platform, th_url, th_filename, th_size, th_content_type, object_id, object_type,
  30. attr, create_time
  31. </sql>
  32. </mapper>