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 lombok.NoArgsConstructor;

/**
 * @Description:
 * @Author: wangpeng
 * @Date: 2023/4/23 9:02
 */
@ApiModel
@NoArgsConstructor
@Data
public class SampleAmountResponse {
    @DictCodeField(message = "检定状态不合法", cacheName = MeterDictCode.MEASURE_STATUS)
    @ApiModelProperty(value = "状态（字典code）", dataType = "String")
    private String status;
    @ApiModelProperty(value = "状态（字典value）", dataType = "String")
    private String statusName;
    @ApiModelProperty(value = "数量", dataType = "Long")
    private Long amount;

    public SampleAmountResponse(String status, Long amount) {
        this.status = status;
        this.amount = amount;
    }
}
