package shop.alien.entity.store.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import shop.alien.entity.store.StoreComment;
import shop.alien.entity.store.StoreImg;

import java.util.List;

/**
 * 评论列表返回类
 *
 * @author ssk
 * @version 1.0
 * @date 2025/1/2 16:23
 */
@Data
@JsonInclude
public class StoreCommentVo extends StoreComment {

    @ApiModelProperty(value = "子评论")
    private List<StoreCommentVo> storeComment;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "头像地址")
    private String userImage;

    @ApiModelProperty(value = "图片地址")
    private List<String> imgUrl;

    @ApiModelProperty(value = "是否点赞")
    private Integer isLike;

    @ApiModelProperty(value = "首评")
    public boolean firstComment;

    @ApiModelProperty(value = "有图片")
    public boolean hasImage;

    @ApiModelProperty(value = "差评")
    public boolean lowScore;

    @ApiModelProperty(value = "评论数")
    public Integer commitCount;

    @ApiModelProperty(value = "是否申诉(0否/1是)")
    public Integer appealFlag;

    @ApiModelProperty(value = "申诉状态字符串")
    private String appealStatusStr;

    @ApiModelProperty(value = "申诉状态")
    private Integer appealStatus;

    @ApiModelProperty(value = "标签")
    private List<String> labels;

    @ApiModelProperty(value = "商家or用户(0商家/1用户)")
    private Integer storeUserFlag;

    private String storeUserName;
    private String storeUserImg;

    @ApiModelProperty(value = "门店名称")
    private String  storeName;

    @ApiModelProperty(value = "图片地址")
    private List<StoreImg> imgList;
}
