Blame view

src/main/java/com/objecteye/entity/PageResult.java 587 Bytes
c83b5b39   Liu Haoyu   项目创建, 集成spring-se...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  package com.objecteye.entity;
  
  import java.io.Serializable;
  import java.util.List;
  
  public class PageResult<T> implements Serializable {
  
      private long total;
      private List<T> row;
  
      public PageResult() {
      }
  
      public PageResult(long total, List<T> row) {
          this.total = total;
          this.row = row;
      }
  
      public long gettotal() {
          return total;
      }
  
      public void settotal(int total) {
          this.total = total;
      }
  
      public List<T> getRow() {
          return row;
      }
  
      public void setRow(List<T> row) {
          this.row = row;
      }
  }