package com.zhiqiyun.open.manager.params;

import com.zhiqiyun.open.enmus.Gender;
import com.zhiqiyun.open.enmus.UserState;
import com.zhiqiyun.open.models.RangeDate;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @author jtoms
 */
@Slf4j
@Data
@EqualsAndHashCode(callSuper = true)
public class QueryUserParam extends QueryPageParams {
    private String nickName;
    private String userName;
    private UserState state;
    private Gender gender;

    private RangeDate registerTime;

    public void setRegisterTime(List<String> registerTime) {
        this.registerTime = RangeDate.build(registerTime);
    }
}

