package com.ruoyi.zhdd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.zhdd.domain.IncidentTask;
import com.ruoyi.zhdd.domain.IncidentTaskCommand;
import com.ruoyi.zhdd.domain.IncidentTaskPerson;
import lombok.Data;

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

/**
 * @Description: TODO
 * @Author: huangcheng
 * @Date: 2021/11/27
 * @Version V1.0
 */
@Data
public class IncidentTasksBo {

    private String id;
    @NotBlank(message = "incidentId不能为空", groups = { AddGroup.class })
    private String incidentId;
    @NotBlank(message = "taskName不能为空", groups = { AddGroup.class })
    private String taskName;
    private List<IncidentTaskCommand> incidentTaskCommands;
    private List<IncidentTaskPerson> incidentTaskPeoples;
}
