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;

@Data
@ApiModel("evaluate_rider")
public class EvaluateRider {
    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;

    @ApiModelProperty("骑手id")
    private Long riderUserId;

    @ApiModelProperty("评价骑手内容")
    private String evaluateRiderMessage;

    @ApiModelProperty("评分")
    private Integer riderScore;

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

    @TableField(exist = false)
    @ApiModelProperty("头像")
    private String avatar;

    @TableField(exist = false)
    @ApiModelProperty("用户手机号")
    private String userPhone;

    @TableField(exist = false)
    @ApiModelProperty("骑手名称")
    private String riderName;

    @TableField(exist = false)
    @ApiModelProperty("手机号")
    private String phone;

    @TableField(exist = false)
    @ApiModelProperty("店铺名称")
    private String shopName;
}
