package com.ruoyi.zhdd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.zhdd.domain.IncidentTaskCommand;
import com.ruoyi.zhdd.domain.IncidentTaskPerson;
import io.swagger.annotations.ApiModelProperty;
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;
    @ApiModelProperty("消息是否发送")
    private boolean sendFlag = false;
    @ApiModelProperty("消息发送的人")
    private List<MessagePushUser> messagePushUsers;
}
