package com.casic.missiles.dto.business.labExecutive;

import com.casic.missiles.annotation.DictCodeField;
import com.casic.missiles.constants.MeterDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel
public class SampleLabExecutiveListRequest {
    @NotBlank(message = "检测状态不能为空")
    @DictCodeField(message = "检测状态不合法", cacheName = MeterDictCode.MEASURE_STATUS)
    @ApiModelProperty(value = "检测状态（字典code，2：待检测，3：检测中，4:检测完成）", dataType = "String")
    private String measureStatus;

    @ApiModelProperty(value = "样品编号", dataType = "String")
    private String sampleNo;

    @ApiModelProperty(value = "样品名称", dataType = "String")
    private String sampleName;

    @ApiModelProperty(value = "委托书编号", dataType = "String")
    private String orderNo;

    @ApiModelProperty(value = "委托方编号", dataType = "String")
    private String customerNo;

    @ApiModelProperty(value = "委托方名称", dataType = "String")
    private String customerName;

    @ApiModelProperty(value = "应检定开始时间", dataType = "String")
    private String startTime;

    @ApiModelProperty(value = "应检定结束时间", dataType = "String")
    private String endTime;

    @ApiModelProperty(value = "是否加急（1是0否null全部）", dataType = "Integer")
    private String isUrgent;

    @DictCodeField(message = "样品属性不合法", cacheName = MeterDictCode.SAMPLE_BELONG)
    @ApiModelProperty(value = "样品属性（字典code）", dataType = "String")
    private String sampleBelong;

}
