package cn.iocoder.yudao.module.mes.controller.admin.qc.outsourcetest.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;
|
|
@Schema(description = "管理后台 - MES 委外检测/试验单分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class MesQcOutsourceTestPageReqVO extends PageParam {
|
|
@Schema(description = "单据编码", example = "WT20260818001")
|
private String code;
|
|
@Schema(description = "单据名称", example = "变压器第三方检测")
|
private String name;
|
|
@Schema(description = "检测类型(1=第三方检测,2=委外试验)", example = "1")
|
private Integer testType;
|
|
@Schema(description = "检测结果(1=合格,2=不合格)", example = "1")
|
private Integer result;
|
|
@Schema(description = "状态(0=草稿,10=已提交,20=已完成)", example = "0")
|
private Integer status;
|
|
@Schema(description = "检测日期")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
private LocalDateTime[] testDate;
|
|
}
|