package com.storlead.trade.dto;

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

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * SOP更新DTO
 */
@Data
@ApiModel(value = "SopUpdateDTO", description = "SOP更新请求")
public class SopUpdateDTO {

    @ApiModelProperty(value = "SOP名称", required = true)
    @NotBlank(message = "SOP名称不能为空")
    private String name;

    @ApiModelProperty(value = "SOP步骤明细")
    private List<SopDetailUpdateDTO> details;
}
