package com.xiaoniu.system.order.comment.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author haoxuyang
 * @Date 2024/11/10 15:38
 */
@Data
@Schema(description = "商品评论列表参数VO")
public class GoodsCommentListVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "商品id")
    private Long goodsId;

    @Schema(description = "商品名称")
    private String goodsName;

    @Schema(description = "订单编号")
    private String orderNo;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "支付时间")
    private Date payTime;

    @Schema(description = "评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "用户信息")
    private String userInfo;

    @Schema(description = "评分")
    private String score;

    @Schema(description = "评论内容")
    private String commentContent;

    @Schema(description = "商品类型")
    private String goodsType;

    @Schema(description = "支付金额")
    private BigDecimal paymentAmount;

    @Schema(description = "门店id")
    private Long storeId;

    @Schema(description = "门店名称")
    private String storeName;

    @Schema(description = "门店评分")
    private String storeScore;

    @Schema(description = "审核状态（1-待审核 2-审核通过 3-审核拒绝）")
    private Integer auditStatus;

}
