CustBaseCustSearchRopRequest.java 2.72 KB
package cn.com.glsx.entmicro.request.customer;

import cn.com.glsx.entmicro.model.request.TagSearchRequest;
import cn.com.glsx.entmicro.request.DefaultRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

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

@Data
public class CustBaseCustSearchRopRequest extends DefaultRequest {

    @ApiModelProperty(notes = "标签", name = "tagLists", required = true)
    private List<TagSearchRequest> tagLists;
    /**
     *  1- 组之间取并集  2-组之间取交集
     */
    @ApiModelProperty(notes = "1- 组之间取并集  2-组之间取交集")
    private Integer combineType;

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

    @ApiModelProperty(notes = "客户群唯一标识")
    private String chatId;

    @NotNull
    @ApiModelProperty(notes = "分页数", name = "pageSize", required = true)
    private Integer pageSize;

    @NotNull
    @ApiModelProperty(notes = "当前页", name = "pageNum", required = true)
    private Integer pageNum;

    /**
     * 本群昵称
     */
    @ApiModelProperty(notes = "本群昵称")
    private String groupNickName;

    /**
     * 客户名称
     */
    @ApiModelProperty(notes = "客户名称")
    private String customerName;

    /**
     * 性别 0-未知 1-男性 2-女性
     */
    @ApiModelProperty(notes = "性别 0-未知 1-男性 2-女性")
    private Integer customerSex;

    /**
     * 入群开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(notes = "入群开始时间 yyyy-MM-dd")
    private Date beginTime;

    /**
     * 入群结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(notes = "入群结束时间 yyyy-MM-dd")
    private Date endTime;

    /**
     * 邀请人
     */
    @ApiModelProperty(notes = "邀请人")
    private Integer invitor;

    /**
     * 创建方式
     */
    @ApiModelProperty(notes = "创建方式")
    private Integer creationMethod;

    @ApiModelProperty(notes = "手机号")
    private String customerPhone;

    @ApiModelProperty(notes = "删除状态 0 正常 -1 已解散")
    private Integer delFlag;

    @ApiModelProperty(notes = "单个值对多个字段模糊查询")
    private String keyword;

    /**
     * 群主
     */
    @ApiModelProperty(notes = "群主")
    private String groupHostName;

    /**
     * 客户群名称
     */
    @ApiModelProperty(notes = "客户群名称")
    protected String custGroupName;

    /**
     * 管理员
     */
    @ApiModelProperty(notes = "管理员")
    private String groupAdminName;
}