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;
import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/11/10 15:47
 */
@Data
@Schema(description = "商品怕评价详情")
public class CommentDetailsVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "手机号")
    private String phoneNumber;

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

    @Schema(description = "商品个数")
    private Integer goodsNum;

    @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 BigDecimal orderAmount;

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

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

    @Schema(description = "评论图片(多个逗号分隔)")
    private String commentImage;

    @Schema(description = "评论图片")
    private List<String> commentImageList;

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

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