SPC/ym-process-inspection/src/main/java/com/cnbm/processInspection/dto/GraphArg.java

45 lines
1.4 KiB
Java
Raw Normal View History

2022-07-27 20:04:38 +08:00
package com.cnbm.processInspection.dto;
import com.cnbm.basic.entity.ProductFeatures;
import com.cnbm.influx.param.Range;
2023-01-03 09:24:12 +08:00
import com.fasterxml.jackson.annotation.JsonFormat;
2022-07-27 20:04:38 +08:00
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
2023-01-03 09:24:12 +08:00
import javax.validation.constraints.NotNull;
2022-07-27 20:04:38 +08:00
import java.util.Date;
import java.util.List;
/**
* @Desc: ""
* @Author: caixiang
* @DATE: 2022/7/26 14:44
*/
@Data
@ApiModel(value = "控制图 查询参数类")
public class GraphArg {
2022-07-29 16:56:35 +08:00
@ApiModelProperty(value = "检验特性Id")
2023-01-03 09:24:12 +08:00
@NotNull(message = "检验特性Id 不能为空")
2022-07-29 16:56:35 +08:00
private Long productFeaturesId;
2022-07-27 20:04:38 +08:00
@ApiModelProperty(value = "查询时间段,开始")
2023-01-03 09:24:12 +08:00
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
@NotNull(message = "时间段,开始 不能为空")
2022-07-27 20:04:38 +08:00
private Date begin;
@ApiModelProperty(value = "查询时间段,结束")
2023-01-03 09:24:12 +08:00
@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
@NotNull(message = "时间段,结束 不能为空")
2022-07-27 20:04:38 +08:00
private Date end;
2023-01-03 09:24:12 +08:00
@ApiModelProperty(value = "判读方案列表,只用于 计量型")
2022-07-27 20:04:38 +08:00
private List<InterpretationListArg> interpretationScheme;
2022-07-29 14:23:13 +08:00
@ApiModelProperty(value = "样本大小,不填的话用之前配置的")
private Integer sampleSize;
2022-08-09 14:57:55 +08:00
@ApiModelProperty(value = "分组类别1=年 , 2=月 , 3=日)(用于计数型控制图)")
private Integer groupType;
2022-07-27 20:04:38 +08:00
}