package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 订单评级对象 pos_order_rating
 *
 * @author ruoyi
 * @date 2025-07-29
 */
@Data
@TableName(value = "pos_order_rating")
@EqualsAndHashCode(callSuper = false)
public class PosOrderRating
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** $column.columnComment */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String ddId;

    /** 消费用户id */
    @Excel(name = "消费用户id")
    private Long userId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long qsId;

    /** 骑手星级评分 */
    @Excel(name = "骑手星级评分")
    private Double qsStars;

    /** 评价骑手内容 */
    @Excel(name = "评价骑手内容")
    private String qsComment;

    /** 评价骑手图片 */
    @Excel(name = "评价骑手图片")
    private String qsImage;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    /** 门店星级评分 */
    @Excel(name = "门店星级评分")
    private Double mdStars;

    /** 评价门店内容 */
    @Excel(name = "评价门店内容")
    private String mdComment;

    /** 评价门店图片 */
    @Excel(name = "评价门店图片")
    private String mdImage;

    private Date createTime;

    /** 商户id */
    private Long shId;


}
