package com.ruoyi.order.api.entity;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
|
/**
|
* @author HJL
|
* @version 1.0
|
* @since 2024-06-11 11:14
|
*/
|
@Data
|
public class OrderEvaluateSubmitRequest {
|
|
@ApiModelProperty("订单id")
|
@NotNull(message = "请选择评价订单!")
|
private Long orderId;
|
|
@ApiModelProperty("评价内容")
|
private String content;
|
|
@ApiModelProperty("评价星级")
|
@NotNull(message = "请选择评价星级!")
|
private Double starRating;
|
|
@ApiModelProperty("服务单号")
|
private String serveNo;
|
|
@ApiModelProperty("用户id")
|
private Integer userId;
|
|
public OrderEvaluateSubmitRequest(Long orderId, String content, Double starRating, String serveNo, Integer userId) {
|
this.orderId = orderId;
|
this.content = content;
|
this.starRating = starRating;
|
this.serveNo = serveNo;
|
this.userId = userId;
|
}
|
}
|