引入lombok框架

优化redis存储结构
This commit is contained in:
648540858
2020-10-16 11:24:36 +08:00
parent a7f224b1af
commit 1947edb69a
17 changed files with 136 additions and 1563 deletions

View File

@@ -1,7 +1,10 @@
package com.genersoft.iot.vmp.common;
import lombok.Data;
import java.util.List;
@Data
public class PageResult<T> {
private int page;
@@ -14,31 +17,4 @@ public class PageResult<T> {
return data;
}
public void setData(List<T> data) {
this.data = data;
}
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
public int getTotal() {
return total;
}
public void setTotal(int total) {
this.total = total;
}
}