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

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;

/**
 * @Description:
 * @Author: wangpeng
 * @Date: 2023/4/20 9:18
 */
@ApiModel
@Data
public class SampleMeasureResponse {
    @ApiModelProperty(value = "样品id", dataType = "String")
    private Long sampleId;

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

    @ApiModelProperty(value = "委托方id", dataType = "Long")
    private Long customerId;

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

    @DictCodeField(message = "检定状态不合法", cacheName = MeterDictCode.MEASURE_STATUS)
    @ApiModelProperty(value = "检定状态（字典code）", dataType = "String")
    private String measureStatus;

    @ApiModelProperty(value = "检定状态（字典value）", dataType = "String")
    private String measureStatusName;
}
