MassDataResponse.java 4.35 KB
package cn.com.glsx.entmicro.response.mass;

import cn.com.glsx.entmicro.model.response.MassAttachmentResponse;
import cn.com.glsx.entmicro.model.response.MassChatDetailResponse;
import cn.com.glsx.entmicro.model.response.MassConditionResponse;
import cn.com.glsx.entmicro.model.response.MassDetailStaffResponse;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class MassDataResponse implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(notes = "主键")
    private Integer id;

    /**
     * 类型:1客户群发 2客户群群发
     */
    @ApiModelProperty(notes = "类型:1客户群发 2客户群群发")
    private Byte type;

    /**
     * 选择类型:1全部客户 2筛选客户
     */
    @ApiModelProperty(notes = "选择类型:1全部客户 2筛选客户")
    private Byte selectType;

    /**
     * 发送类型:1立即发送 2定时发送
     */
    @ApiModelProperty(notes = "发送类型:1立即发送 2定时发送")
    private Byte sendType;

    /**
     * 群发名称
     */
    @ApiModelProperty(notes = "群发名称")
    private String massName;

    /**
     * 已发送员工数量
     */
    @ApiModelProperty(notes = "已发送员工数量")
    private Integer sendUserNum;

    /**
     * 未发送员工数量
     */
    @ApiModelProperty(notes = "未发送员工数量")
    private Integer unsendUserNum;

    /**
     * 送达客户数量
     */
    @ApiModelProperty(notes = "送达客户数量")
    private Integer sendCustomerNum;

    /**
     * 未送达客户数量
     */
    @ApiModelProperty(notes = "未送达客户数量")
    private Integer unsendCustomerNum;

    /**
     * 客户送达失败数量
     */
    @ApiModelProperty(notes = "客户送达失败数量")
    private Integer sendFailNum;

    /**
     * 是否发送提醒:0未提醒 1已提醒
     */
    @ApiModelProperty(notes = "是否发送提醒:0未提醒 1已提醒")
    private Byte isRemind;

    /**
     * 发送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(notes = "发送时间")
    private Date sendTime;

    /**
     * 消息id
     */
    @ApiModelProperty(notes = "消息id")
    private String msgId;

    /**
     * 创建人
     */
    @ApiModelProperty(notes = "创建人")
    private Integer createdBy;
    /**
     * 创建人名称
     */
    @ApiModelProperty(notes = "创建人名称")
    private String createdName;

    /**
     * 创建时间
     */
    @ApiModelProperty(notes = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    /**
     * 更新人
     */
    @ApiModelProperty(notes = "更新人")
    private Integer updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(notes = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;

    /**
     * 提醒时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(notes = "提醒时间")
    private Date remindTime;

    /**
     * 状态:-1创建失败 0创建成功 1发送成功 2发送失败
     */
    @ApiModelProperty(notes = "状态:-1创建失败 0创建成功 1发送成功 2发送失败")
    private Byte status;

    /**
     * 附件关联数据列表
     */
    @ApiModelProperty(notes = "附件关联数据列表")
    private List<MassAttachmentResponse> attachmentList;

    /**
     * 用户关联数据
     */
    @ApiModelProperty(notes = "用户关联数据")
    private List<MassDetailStaffResponse> userList;

    /**
     * 条件数据列表
     */
    @ApiModelProperty(notes = "条件数据列表")
    private MassConditionResponse condition;

    /**
     * 人群条件数据列表
     */
    @ApiModelProperty(notes = "人群条件数据列表")
    List<MassConditionCrowdResponse> conditionResponses;

    /**
     * 客户群群聊列表
     */
    @ApiModelProperty(notes = "客户群群聊列表")
    private List<MassChatDetailResponse> chatDetailList;

    /**
     * 客户数量
     */
    @ApiModelProperty(notes = "客户数量")
    private Integer customerCount;

    private static final long serialVersionUID = 1L;

}