package com.izouma.dingdong.dto;


import com.izouma.dingdong.annotations.Searchable;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ApDTO {
    private Long id;

    private String nickname;

    private String avatar;

    @ApiModelProperty(value = "商家回复评价", name = "merchantReply")
    private String merchantReply;

    @ApiModelProperty(value = "商品评价", name = "goodsAppraise")
    private String goodsAppraise;

    @ApiModelProperty(value = "图片", name = "img")
    private String img;

    @ApiModelProperty(value = "商品名称", name = "goodsName")
    private String goodsName;

    @ApiModelProperty(value = "评价日期", name = "appreiseTime")
    private LocalDateTime appraiseTime;

    @ApiModelProperty(value = "商品评分", name = "goodsLike")
    private Boolean goodsLike;

/*    @ApiModelProperty(value = "商品评分", name = "goodsScore")
    private Boolean goodsBad;*/

    @ApiModelProperty(value = "点赞数")
    private Integer likes;

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

    @ApiModelProperty(value = "内容", name = "content")
    private List<String> content;

    @ApiModelProperty(value = "骑手评价内容", name = "riderAppraise")
    private String riderAppraise;

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

    /**
     * 1-非常差，2-一般，3-超赞
     */
    @ApiModelProperty(value = "骑手评分", name = "riderScore")
    private Integer riderLike;


}
