tuqin
7 天以前 c35bd84886fb0c4e4ee0ffeeb3819a8a8df532b5
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
package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.hazard;
 
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.time.LocalDate;
 
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
 
@Schema(description = "管理后台 - 安全生产-隐患分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MesSafetyHazardPageReqVO extends PageParam {
 
    @Schema(description = "隐患编码", example = "YH-001")
    private String code;
 
    @Schema(description = "隐患名称", example = "配电箱缺防护罩")
    private String name;
 
    @Schema(description = "隐患来源", example = "1")
    private Integer source;
 
    @Schema(description = "隐患等级", example = "1")
    private Integer hazardLevel;
 
    @Schema(description = "状态", example = "0")
    private Integer status;
 
    @Schema(description = "所属车间编号", example = "7")
    private Long workshopId;
 
    @Schema(description = "整改责任人编号", example = "1")
    private Long chargeUserId;
 
    @Schema(description = "关联风险清单编号", example = "1")
    private Long riskId;
 
    @Schema(description = "发现日期-起", example = "2026-11-01")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate foundDateStart;
 
    @Schema(description = "发现日期-止", example = "2026-11-30")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate foundDateEnd;
 
}