DracImAddRequest.java 2.06 KB
package cn.com.glsx.entmicro.request.drainage;

import cn.com.glsx.entmicro.model.request.DracImFollowStaffRequest;
import cn.com.glsx.entmicro.model.request.DracImMessageConfigRequest;
import cn.com.glsx.entmicro.request.DefaultRequest;
import cn.com.glsx.entmicro.request.one.template.QyAttachmentVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
public class DracImAddRequest extends DefaultRequest {

    /**
     * 导入excel
     */
    @ApiModelProperty("导入excelurl")
    @NotNull
    private String exportUrl;

    /**
     * 智能营销类型 1.魔方 2.导入
     */
    @ApiModelProperty("智能营销类型 1.魔方 2.导入")
    @NotNull
    private Integer imType;

    /**
     * 智能营销标签
     */
    @ApiModelProperty("智能营销标签")
    private String tagging;

    /**
     * 智能营销类型 1.魔方 2.导入
     */
    @ApiModelProperty("智能营销类型 1.魔方 2.导入")
    private String imName;

    /**
     * 自动发送欢迎语(0:否;1:是)
     */
    @ApiModelProperty(notes = "自动发送欢迎语(0:否;1:是)", required = true)
    private Integer autoWelcome;

    /**
     * 跟进员工
     */
    private List<DracImFollowStaffRequest> dracImFollowStaffRequestList;

    /**
     * 短信信息
     */
    private DracImMessageConfigRequest dracImMessageConfigRequest;

    /**
     * 欢迎语信息
     */
    @ApiModelProperty(notes = "欢迎语信息")
    List<QyAttachmentVo> welcomeInfo;

    /**
     * 过滤标签列表
     */
    @ApiModelProperty(notes = "过滤标签列表", example = "[{\"groupId\":9870,\"groupName\":\"送修人是否已加企微\",\"groupType\":\"系统标签\",\"labelId\":\"1520\",\"labelName\":\"已加企微\"}]")
    private String filterTagging;

    /**
     * 1- 组之间取并集  2-组之间取交集
     */
    @ApiModelProperty(notes = "1- 组之间取并集  2-组之间取交集")
    private Integer combineType;

    /**
     * 人群id
     */
    private List<Integer> groupIds;
}