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;
|
|
}
|