package com.storlead.trade.dto;

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * SOP明细创建DTO
 */
@Data
@ApiModel(value = "SopDetailCreateDTO", description = "SOP步骤明细创建请求")
public class SopDetailCreateDTO implements Serializable {

    @ApiModelProperty(value = "步骤序号", required = true)
    @NotNull(message = "步骤序号不能为空")
    private Integer step;

    @ApiModelProperty(value = "步骤名称", required = true)
    private String name;

    @ApiModelProperty(value = "间隔天数")
    private String days;

    @ApiModelProperty(value = "触达渠道")
    private String type;
}
