package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 订单评价DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "OrderReviewDto对象", description = "订单评价DTO")
public class OrderReviewDto {

    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "总体评分（1-5星，支持0.5星）")
    private Double overallRating;

    @ApiModelProperty(value = "服务态度评分（1-5星，支持0.5星）")
    private Double serviceAttitudeRating;

    @ApiModelProperty(value = "响应时间评分（1-5星，支持0.5星）")
    private Double responseTimeRating;

    @ApiModelProperty(value = "专业能力评分（1-5星，支持0.5星）")
    private Double professionalAbilityRating;

    @ApiModelProperty(value = "评价内容")
    private String reviewContent;

    @ApiModelProperty(value = "评价图片列表")
    private List<String> reviewImages;

    @ApiModelProperty(value = "是否匿名评价，0:否，1:是")
    private Integer isAnonymous;

    @ApiModelProperty(value = "用户id")
    private Integer userId;
}

