CalendarMapper.xml 1.3 KB

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="boot.modules.calendar.mapper.CalendarMapper">
  6. <resultMap id="BaseResultMap" type="boot.modules.calendar.pojo.Calendar">
  7. <id property="id" column="id" jdbcType="BIGINT"/>
  8. <result property="title" column="title" jdbcType="VARCHAR"/>
  9. <result property="detail" column="detail" jdbcType="VARCHAR"/>
  10. <result property="start" column="start" jdbcType="DATE"/>
  11. <result property="end" column="end" jdbcType="DATE"/>
  12. <result property="overlap" column="overlap" jdbcType="TINYINT"/>
  13. <result property="editable" column="editable" jdbcType="TINYINT"/>
  14. <result property="color" column="color" jdbcType="VARCHAR"/>
  15. <result property="file" column="file" jdbcType="VARCHAR"/>
  16. <result property="fileType" column="file_type" jdbcType="VARCHAR"/>
  17. <result property="isDel" column="is_del" jdbcType="TINYINT"/>
  18. </resultMap>
  19. <sql id="Base_Column_List">
  20. id,title,detail,
  21. start,end,overlap,
  22. editable,color,file,
  23. file_type,is_del
  24. </sql>
  25. </mapper>