
org.joyqueue.model.query.QUser Maven / Gradle / Ivy
/**
* Copyright 2019 The JoyQueue Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.joyqueue.model.query;
import org.joyqueue.model.QKeyword;
/**
* Created by yangyang36 on 2018/9/12.
*/
public class QUser extends QKeyword {
private Integer status;
private Long appId;
public QUser() {
}
public QUser(String keyword, Integer status) {
super(keyword);
this.status = status;
}
public QUser(String keyword, Integer status, Long appId) {
this(keyword, status);
this.appId = appId;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getAppId() {
return appId;
}
public void setAppId(Long appId) {
this.appId = appId;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("QUser{");
sb.append("status=").append(status);
sb.append("appId=").append(appId);
sb.append(", keyword='").append(keyword).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy