<?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.cj.jiaqingjiayi.mapper.UserRatingMapper">

    <resultMap id="BaseResultMap" type="com.cj.jiaqingjiayi.model.domain.UserRating">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="businessId" column="businessId" jdbcType="BIGINT"/>
            <result property="userId" column="userId" jdbcType="BIGINT"/>
            <result property="manicuristId" column="manicuristId" jdbcType="BIGINT"/>
            <result property="orderId" column="orderId" jdbcType="BIGINT"/>
            <result property="rating" column="rating" jdbcType="TINYINT"/>
            <result property="manicuristRating" column="manicuristRating" jdbcType="TINYINT"/>
            <result property="picture" column="picture" jdbcType="VARCHAR"/>
            <result property="review" column="review" jdbcType="VARCHAR"/>
            <result property="businessReview" column="businessReview" jdbcType="VARCHAR"/>
            <result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,businessId,userId,
        manicuristId,orderId,rating,
        manicuristRating,review,businessReview,
        picture,createTime
    </sql>
</mapper>