package com.izouma.dingdong.dto;

import com.izouma.dingdong.domain.OrderInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "订单表", description = "订单表")
public class OrderInfoDTO extends OrderInfo {


    //商家信息
    @ApiModelProperty(value = "商家用户Id",name = "mUserId")
    private Long muserId;

    @ApiModelProperty(value = "商户名称", name = "merShowName")
    private String merShowName;

    @ApiModelProperty(value = "商家地址经纬度", name = "merLocation")
    private String merLocation;

    @ApiModelProperty(value = "商家地址", name = "merAddress")
    private String merAddress;

    @ApiModelProperty(value = "商家logo", name = "merLogo")
    private String merLogo;

    @ApiModelProperty(value = "商家id", name = "mid")
    private Long mid;



    @ApiModelProperty(value = "用户昵称")
    private String nickname;


    //骑手信息
    @ApiModelProperty(value = "骑手用户Id",name = "rUserId")
    private Long ruserId;

    @ApiModelProperty(value = "骑手工号", name = "jobNumber")
    private String jobNumber;

    @ApiModelProperty(value = "骑手名称", name = "riderName")
    private String riderName;

    @ApiModelProperty(value = "骑手地址经纬度", name = "ridLocation")
    private String ridLocation;


    @ApiModelProperty(value = "评价ID", name = "appraisalId")
    private Long appraisalId;

}
