package com.storlead.trade.dto;

import com.storlead.framework.common.dto.page.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * SOP响应DTO
 */
@Data
@ApiModel(value = "SopResponseDTO", description = "SOP响应")
public class SopResponseDTO extends PageDTO {

    @ApiModelProperty(value = "SOP ID")
    private Long id;

    @ApiModelProperty(value = "SOP名称")
    private String name;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

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