package cn.iocoder.yudao.module.mes.controller.admin.dc.record.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 MesDcRecordPageReqVO extends PageParam {
|
|
@Schema(description = "采集设备ID", example = "1024")
|
private Long deviceId;
|
|
@Schema(description = "设备编号", example = "DC001")
|
private String deviceCode;
|
|
@Schema(description = "生产工单ID", example = "2048")
|
private Long workOrderId;
|
|
@Schema(description = "生产工单编号", example = "WO202611100001")
|
private String workOrderCode;
|
|
@Schema(description = "产品ID", example = "88")
|
private Long productId;
|
|
@Schema(description = "生产批次号", example = "B20261110001")
|
private String batchCode;
|
|
@Schema(description = "记录状态:0 正常 / 1 已更正 / 2 已作废", example = "0")
|
private Integer status;
|
|
@Schema(description = "设备采集时间")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
private LocalDateTime[] recordTime;
|
|
@Schema(description = "服务器接收时间")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
private LocalDateTime[] createTime;
|
|
}
|