01: package ru.emdev.EmForge.web;
02:
03: import java.io.Serializable;
04:
05: /** This class is used for displaying list of users and groups in list of suggestions */
06: public class UserSuggestion implements Serializable {
07: private static final long serialVersionUID = 795272049736186177L;
08:
09: public static final Integer USER_NORMALUSER = 1;
10: public static final Integer USER_GROUP = 2;
11:
12: public Integer type;
13: public String name;
14:
15: public UserSuggestion() {
16: }
17:
18: public UserSuggestion(Integer type, String name) {
19: this .type = type;
20: this .name = name;
21: }
22:
23: public Integer getType() {
24: return type;
25: }
26:
27: public void setType(Integer io_type) {
28: type = io_type;
29: }
30:
31: public String getName() {
32: return name;
33: }
34:
35: public void setName(String io_name) {
36: name = io_name;
37: }
38:
39: }
|