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

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单评价业务对象 tb_order_reviews
 *
 * @author ruoyi
 * @date 2025-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("订单评价业务对象")
public class OrderReviewsBo extends BaseEntity {

    /**
     * ID
     */
    @ApiModelProperty(value = "ID", required = true)
    private Long id;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "订单ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long orderId;

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

    /**
     * 服务态度（0-5星级）
     */
    @ApiModelProperty(value = "服务态度（0-5星级）", required = true)
    @NotNull(message = "服务态度（0-5星级）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer serviceAttitude;

    /**
     * 着装仪态（0-5星级）
     */
    @ApiModelProperty(value = "着装仪态（0-5星级）", required = true)
    @NotNull(message = "着装仪态（0-5星级）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer dressAppearance;

    /**
     * 沟通能力（0-5星级）
     */
    @ApiModelProperty(value = "沟通能力（0-5星级）", required = true)
    @NotNull(message = "沟通能力（0-5星级）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer communicationAbility;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容", required = true)
    private String content;


}
