package com.sqx.modules.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("evaluate")
public class Evaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)

    @ApiModelProperty("id")
    private Long id;


    @ApiModelProperty("用户id")
    private Long userId;


    @ApiModelProperty("订单号")
    private String orderNumber;


    @ApiModelProperty("商户id")
    private Long shopId;

    @TableField(exist = false)
    @ApiModelProperty("商品名称")
    private String shopName;

    @ApiModelProperty("商品id")
    private String goodsId;
    @TableField(exist = false)
    @ApiModelProperty("商品名称")
    private String goodsName;
    @TableField(exist = false)
    private String shopCover;

    @ApiModelProperty("评价内容")
    private String evaluateMessage;


    @ApiModelProperty("评价内容")
    private String shopReplyMessage;

    @ApiModelProperty("评价图片")
    private String pictures;


    @ApiModelProperty("评分")
    private Double score;


    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("总分数")
    @TableField(exist = false)
    private Double allScore;

    @ApiModelProperty("总评论数")
    @TableField(exist = false)
    private Integer Evaluatecount;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String avatar;

    @ApiModelProperty("骑手id")
    @TableField(exist = false)
    private Long riderUserId;

    @ApiModelProperty("评价骑手内容")
    @TableField(exist = false)
    private String evaluateRiderMessage;

    @ApiModelProperty("评分")
    @TableField(exist = false)
    private Integer riderScore;
    public Evaluate() {
    }


}
