修改用户行统计,可根据用户查询IP,根据iP查询用户
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
package com.nis.domain.dashboard;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.xml.bind.annotation.XmlTransient;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.domain.Page;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
public class NtcRadiusReport {
|
||||
public class NtcRadiusReport<T> implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1434148698159286062L;
|
||||
// @JsonInclude(value = Include.NON_NULL)
|
||||
// @ApiModelProperty(value = "接入IP", required = true)
|
||||
@ExcelField(title = "ip_address_control", sort = 2)
|
||||
@@ -40,6 +46,8 @@ public class NtcRadiusReport {
|
||||
protected String searchNasIp;
|
||||
protected String searchAccount;
|
||||
protected String groupType;
|
||||
|
||||
protected Page<T> page;
|
||||
|
||||
public String getNasIp() {
|
||||
return nasIp;
|
||||
@@ -146,5 +154,17 @@ public class NtcRadiusReport {
|
||||
public void setGroupType(String groupType) {
|
||||
this.groupType = groupType;
|
||||
}
|
||||
@JsonIgnore
|
||||
@XmlTransient
|
||||
public Page<T> getPage() {
|
||||
if (page == null) {
|
||||
page = new Page<T>();
|
||||
}
|
||||
return page;
|
||||
}
|
||||
|
||||
public Page<T> setPage(Page<T> page) {
|
||||
this.page = page;
|
||||
return page;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user