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;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppraisalMerDTO {
    @Searchable
    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 = "goodsScore")
    private Boolean goodsLike;

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

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