package cn.iocoder.yudao.module.mes.controller.admin.safety.vo.training; 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.LocalDateTime; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; @Schema(description = "管理后台 - 安全生产-培训分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) public class MesSafetyTrainingPageReqVO extends PageParam { @Schema(description = "培训编号", example = "PX-2026-001") private String code; @Schema(description = "培训主题", example = "特种作业安全操作培训") private String title; @Schema(description = "培训类型", example = "2") private Integer trainingType; @Schema(description = "培训层级", example = "1") private Integer trainingLevel; @Schema(description = "状态", example = "0") private Integer status; @Schema(description = "培训开始时间-起") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime startTimeStart; @Schema(description = "培训开始时间-止") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime startTimeEnd; }