inleft
2022-02-09 9bcb19959eeb9da9bde2561e7278f6d0a55eb151
commit | author | age
9bcb19 1 /*
I 2 Copyright [2020] [https://www.xiaonuo.vip]
3
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
8   http://www.apache.org/licenses/LICENSE-2.0
9
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 Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
17
18 1.请不要删除和修改根目录下的LICENSE文件。
19 2.请不要删除和修改Snowy源码头部的版权声明。
20 3.请保留源码和相关描述文件的项目出处,作者声明等。
21 4.分发源码时候,请注明软件出处 https://gitee.com/xiaonuobase/snowy
22 5.在修改包名,模块名称,项目代码等时,请注明软件出处 https://gitee.com/xiaonuobase/snowy
23 6.若您的项目无法满足以上几点,可申请商业授权,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
24  */
25 package vip.xiaonuo.core.pojo.base.param;
26
27 import lombok.Data;
28
29 import java.io.Serializable;
30 import java.util.List;
31
32 /**
33  * 通用基础参数,相关实体参数校验可继承此类
34  *
35  * @author xuyuxiang
36  * @date 2020/3/10 16:02
37  */
38 @Data
39 public class BaseParam implements Serializable {
40
41     private static final long serialVersionUID = 1L;
42
43     /**
44      * 搜索值
45      */
46     private String searchValue;
47
48     /**
49      * 数据权限
50      */
51     private List<Long> dataScope;
52
53     /**
54      * 开始时间
55      */
56     private String searchBeginTime;
57
58     /**
59      * 结束时间
60      */
61     private String searchEndTime;
62
63     /**
64      * 状态(字典 0正常 1停用 2删除)
65      */
66     private Integer searchStatus;
67
68     /**
69      * 参数校验分组:分页
70      */
71     public @interface page {
72     }
73
74     /**
75      * 参数校验分组:列表
76      */
77     public @interface list {
78     }
79
80     /**
81      * 参数校验分组:下拉
82      */
83     public @interface dropDown {
84     }
85
86     /**
87      * 参数校验分组:增加
88      */
89     public @interface add {
90     }
91
92     /**
93      * 参数校验分组:编辑
94      */
95     public @interface edit {
96     }
97
98     /**
99      * 参数校验分组:更新信息
100      */
101     public @interface updateInfo {
102     }
103
104     /**
105      * 参数校验分组:修改密码
106      */
107     public @interface updatePwd {
108     }
109
110     /**
111      * 参数校验分组:重置密码
112      */
113     public @interface resetPwd {
114     }
115
116     /**
117      * 参数校验分组:修改头像
118      */
119     public @interface updateAvatar {
120     }
121
122     /**
123      * 参数校验分组:删除
124      */
125     public @interface delete {
126     }
127
128     /**
129      * 参数校验分组:详情
130      */
131     public @interface detail {
132     }
133
134     /**
135      * 参数校验分组:授权角色
136      */
137     public @interface grantRole {
138     }
139
140     /**
141      * 参数校验分组:授权菜单
142      */
143     public @interface grantMenu {
144     }
145
146     /**
147      * 参数校验分组:授权数据
148      */
149     public @interface grantData {
150     }
151
152     /**
153      * 参数校验分组:强退
154      */
155     public @interface force {
156     }
157
158     /**
159      * 参数校验分组:停用
160      */
161     public @interface stop {
162     }
163
164     /**
165      * 参数校验分组:启用
166      */
167     public @interface start {
168     }
169
170     /**
171      * 参数校验分组:部署
172      */
173     public @interface deploy {
174     }
175
176     /**
177      * 参数校验分组:挂起
178      */
179     public @interface suspend {
180     }
181
182     /**
183      * 参数校验分组:激活
184      */
185     public @interface active {
186     }
187
188     /**
189      * 参数校验分组:委托
190      */
191     public @interface entrust {
192     }
193
194     /**
195      * 参数校验分组:转办
196      */
197     public @interface turn {
198     }
199
200     /**
201      * 参数校验分组:追踪
202      */
203     public @interface trace {
204     }
205
206     /**
207      * 参数校验分组:跳转
208      */
209     public @interface jump {
210     }
211
212     /**
213      * 参数校验分组:提交
214      */
215     public @interface submit {
216     }
217
218     /**
219      * 参数校验分组:退回
220      */
221     public @interface back {
222     }
223
224     /**
225      * 参数校验分组:终止
226      */
227     public @interface end {
228     }
229
230     /**
231      * 参数校验分组:导出
232      */
233     public @interface export {
234     }
235
236     /**
237      * 参数校验分组:映射
238      */
239     public @interface mapping {
240     }
241
242     /**
243      * 参数校验分组:切换
244      */
245     public @interface change {
246     }
247
248     /**
249      * 参数校验分组:历史审批记录
250      */
251     public @interface commentHistory {
252     }
253
254     /**
255      * 参数校验分组:修改状态
256      */
257     public @interface changeStatus {
258     }
259
260     /**
261      * 参数校验分组:加签
262      */
263     public @interface addSign {
264     }
265
266     /**
267      * 参数校验分组:减签
268      */
269     public @interface deleteSign {
270     }
271
272 }