package cn.lihu.jh.module.ecg.controller.admin.devmanage.vo; import com.alibaba.excel.annotation.ExcelProperty; import lombok.*; import java.time.LocalDate; import java.util.*; import io.swagger.v3.oas.annotations.media.Schema; import cn.lihu.jh.framework.common.pojo.PageParam; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; import static cn.lihu.jh.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 DevicePageReqVO extends PageParam { @Schema(description = "设备编号", example = "5317") private String devId; @Schema(description = "设备固有编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317") private String devCodeIntrinsic; @Schema(description = "设备医院编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317") private String devCodeHosp; @Schema(description = "设备科室编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "5317") private String devCodeDept; @Schema(description = "分类名") private String category; @Schema(description = "品牌") private String brand; @Schema(description = "型号") private String model; @Schema(description = "采购日期") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDate[] purchaseDate; @Schema(description = "创建时间") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] createTime; @Schema(description = "状态日期") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDate[] stateDate; /** * 0 - 空闲 10 - 使用中 20 - 已遗失 */ @Schema(description = "状态") private Integer[] state; @Schema(description = "备注") private String comment; }