package com.ruoyi.info.order.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;


/**
 * 订单评价视图对象 tb_order_reviews
 *
 * @author ruoyi
 * @date 2025-09-29
 */
@Data
@ApiModel("订单评价视图对象")
@ExcelIgnoreUnannotated
public class OrderReviewsVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    @ApiModelProperty("ID")
    private Long id;

    /**
     * 订单ID
     */
    @ExcelProperty(value = "订单ID")
    @ApiModelProperty("订单ID")
    private Long orderId;

    /**
     * C端用户ID
     */
    @ExcelProperty(value = "C端用户ID")
    @ApiModelProperty("C端用户ID")
    private Long userId;

    /**
     * 服务态度（0-5星级）
     */
    @ExcelProperty(value = "服务态度", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-5星级")
    @ApiModelProperty("服务态度（0-5星级）")
    private Integer serviceAttitude;

    /**
     * 着装仪态（0-5星级）
     */
    @ExcelProperty(value = "着装仪态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-5星级")
    @ApiModelProperty("着装仪态（0-5星级）")
    private Integer dressAppearance;

    /**
     * 沟通能力（0-5星级）
     */
    @ExcelProperty(value = "沟通能力", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=-5星级")
    @ApiModelProperty("沟通能力（0-5星级）")
    private Integer communicationAbility;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    @ApiModelProperty("内容")
    private String content;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
