提交 | 用户 | 时间
|
1ac2bc
|
1 |
/** |
懒 |
2 |
* Copyright 2018-2020 stylefeng & fengshuonan (https://gitee.com/stylefeng) |
|
3 |
* <p> |
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
5 |
* you may not use this file except in compliance with the License. |
|
6 |
* You may obtain a copy of the License at |
|
7 |
* <p> |
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
9 |
* <p> |
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
13 |
* See the License for the specific language governing permissions and |
|
14 |
* limitations under the License. |
|
15 |
*/ |
|
16 |
package cn.stylefeng.guns.base.pojo.page; |
|
17 |
|
|
18 |
import lombok.Data; |
|
19 |
|
|
20 |
import java.util.List; |
|
21 |
|
|
22 |
/** |
|
23 |
* 分页结果的封装(for Layui Table) |
|
24 |
* |
|
25 |
* @author fengshuonan |
|
26 |
* @Date 2019年1月25日22:07:36 |
|
27 |
*/ |
|
28 |
@Data |
|
29 |
public class LayuiPageInfo { |
|
30 |
|
|
31 |
public Integer getCode() { |
|
32 |
return code; |
|
33 |
} |
|
34 |
|
|
35 |
public void setCode(Integer code) { |
|
36 |
this.code = code; |
|
37 |
} |
|
38 |
|
|
39 |
public String getMsg() { |
|
40 |
return msg; |
|
41 |
} |
|
42 |
|
|
43 |
public void setMsg(String msg) { |
|
44 |
this.msg = msg; |
|
45 |
} |
|
46 |
|
|
47 |
public List getData() { |
|
48 |
return data; |
|
49 |
} |
|
50 |
|
|
51 |
public void setData(List data) { |
|
52 |
this.data = data; |
|
53 |
} |
|
54 |
|
|
55 |
public long getCount() { |
|
56 |
return count; |
|
57 |
} |
|
58 |
|
|
59 |
public void setCount(long count) { |
|
60 |
this.count = count; |
|
61 |
} |
|
62 |
|
|
63 |
private Integer code = 0; |
|
64 |
|
|
65 |
private String msg = "请求成功"; |
|
66 |
|
|
67 |
private List data; |
|
68 |
|
|
69 |
private long count; |
|
70 |
|
|
71 |
} |