package com.fs.store.param.h5;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@Data
public class FsUserPageListParam implements Serializable {

    @ApiModelProperty(value = "页码,默认为1", required = true)
    private Integer pageNum = 1;

    @ApiModelProperty(value = "页大小,默认为10", required = true)
    private Integer pageSize = 10;

    @ApiModelProperty(value = "模糊搜索，可以通过微信名称、电话来模糊匹配")
    private String keyword;

    @ApiModelProperty(value = "用户id，不用传")
    private Long userId;

    @ApiModelProperty(value = "是否是黑名单，默认是false", required = true)
    private Boolean isBlack = false;

    @ApiModelProperty(value = "销售id")
    private String companyUserId;

    @ApiModelProperty(value = "注册时间-开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String registerStartTime;

    @ApiModelProperty(value = "注册时间-结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String registerEndTime;

    @ApiModelProperty(value = "标签")
    private String[] tagIds;

    @ApiModelProperty(value = "tab序号，0全部；1今日新增；2今日完播；3未看过课")
    private String tabValue;

    @ApiModelProperty(value = "看课状态，0全部；1未看过课；2正常看课；3停止看课")
    private String watchCourseType;

    @ApiModelProperty(value = "缺课状态，0全部；1-已缺课；2-未缺课")
    private String missCourseStatus;

    @ApiModelProperty(value = "连续停课排序，0-连续缺课天数多到少；1-连续缺课天数少到多；2-按注册时间晚到早；3-会员姓名0-9-A-Z")
    private String continueMissCourseSort;

    @ApiModelProperty(value = "昵称 (PC端使用)")
    private String nickname;

    @ApiModelProperty(value = "电话 (PC端使用)")
    private String phone;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 销售端登录用户id（该字段用于区分之前的登录用户）
     */
    private Long pcLoginUserId;


}

