liujie
2026-01-21 66ec0428ca4f69dec6f698a3fd201944da8e2683
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
package com.estate.expert.admin.domain.common.request;
 
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Value;
 
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 添加在岗情况请求
 */
@ApiModel("添加在岗情况请求")
@Value
@Builder
public class AddOnDutyRequest {
 
    @NotNull(message = "检查任务ID")
    @ApiModelProperty(value = "检查任务ID", required = true)
    Integer checkTaskIdId;
 
    @ApiModelProperty(value = "岗位ID", required = true)
    @NotNull(message = "岗位ID不能为空")
    Integer positionId;
 
    @ApiModelProperty(value = "在岗状态:1-在岗,2-未在岗,3-请假", required = true)
    @NotNull(message = "在岗状态不能为空")
    @Min(value = 1, message = "在岗状态值必须在1-3之间")
    @Max(value = 3, message = "在岗状态值必须在1-3之间")
    Integer state;
 
    @ApiModelProperty(value = "问题说明")
    String remark;
 
    @ApiModelProperty(value = "图片URL列表(多张)")
    List<String> images;
}