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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("设备接收")
@Data
public class DeviceStatusChangeDTO {

    @NotNull
    @ApiModelProperty(value = "委托书id", dataType = "Long")
    private Long orderId;

    @NotNull
    @ApiModelProperty(value = "样品id", dataType = "Long")
    private Long sampleId;

    //不同页面传入前进状态、回退状态不同，并且回退到对应状态的前一个状态码
    @ApiModelProperty(value = "状态变更(无需检测状态7,前进状态2、5、6,回退状态1,2,5)", dataType = "String")
    private String status;

    @ApiModelProperty(value = "操作原因（终止操作必填，其他无需填写）", dataType = "String")
    private String reason;

}
