package cn.iocoder.yudao.module.mes.controller.admin.dv.borrow.vo;
|
|
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 = "管理后台 - MES 设备借用归还分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class MesDvBorrowPageReqVO extends PageParam {
|
|
@Schema(description = "借用单号", example = "JY2026")
|
private String code;
|
|
@Schema(description = "设备编号", example = "1")
|
private Long machineryId;
|
|
@Schema(description = "借用人用户编号", example = "1")
|
private Long borrowerUserId;
|
|
@Schema(description = "状态(1 借出中 2 已归还)", example = "1")
|
private Integer status;
|
|
@Schema(description = "借用时间")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
private LocalDateTime[] borrowTime;
|
|
}
|