liujie
2026-06-26 8fbe2f5f29b9658b6201b3daabe2d575c9da88fd
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.estate.expert.admin.domain.plan;
 
import com.estate.expert.admin.domain.common.EntityRef;
import com.estate.expert.admin.domain.common.IDtoBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Value;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
 
/**
 * DTO for {@link Plan}
 */
@ApiModel("计划")
@Value
@Builder
public class PlanDto implements Serializable, IDtoBase {
 
    @ApiModelProperty("计划ID")
    Integer id;
 
    @ApiModelProperty("计划名称")
    @NotBlank
    String name;
 
    @ApiModelProperty("计划类型")
    @NotNull
    PlanType type;
 
    @ApiModelProperty("委托方")
    @NotNull
    EntityRef client;
 
    @ApiModelProperty("项目状态")
    PlanState state;
 
    @ApiModelProperty("综合模型")
    @NotNull(message = "综合模型不能为空")
    EntityRef systemModel;
 
    @ApiModelProperty("综合模型-模糊数学专家")
    @NotNull(message = "综合模型-模糊数学专家不能为空")
    EntityRef systemFuzzyExpert;
 
    @ApiModelProperty("综合模型-打分表专家")
    @NotNull(message = "综合模型-打分表专家不能为空")
    EntityRef systemScoreExpert;
 
    @ApiModelProperty("设备模型")
    @NotNull(message = "设备模型不能为空")
    EntityRef deviceModel;
 
    @ApiModelProperty("设备模型-模糊数学专家")
    @NotNull(message = "设备模型-模糊数学专家不能为空")
    EntityRef deviceFuzzyExpert;
 
    @ApiModelProperty("设备模型-打分表专家")
    @NotNull(message = "设备模型-打分表专家不能为空")
    EntityRef deviceScoreExpert;
 
    @ApiModelProperty("计划完成时间")
    LocalDateTime completedTime;
 
    @ApiModelProperty("创建时间")
    LocalDateTime createTime;
 
    @ApiModelProperty("更新时间")
    LocalDateTime updateTime;
 
    @ApiModelProperty("创建人")
    EntityRef creator;
}