无关风月
21 小时以前 7cab5bda99ca42188bc15b2dae7d1fa4d1833fd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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;
    }
}