View Javadoc
1   package booking.model.entity;
2   
3   import javax.validation.constraints.NotNull;
4   import javax.validation.constraints.Size;
5   
6   public class UserPreferencesTO {
7   
8   	Long id;
9   
10  	Long idUser;
11  
12  	@NotNull
13  	@Size(max = 100)
14  	String name;
15  
16  	@NotNull
17  	@Size(max = 100)
18  	String value;
19  
20  	/**
21  	 * @return the id
22  	 */
23  	public Long getId() {
24  		return id;
25  	}
26  
27  	/**
28  	 * @param id
29  	 *            the id to set
30  	 */
31  	public void setId(Long id) {
32  		this.id = id;
33  	}
34  
35  	/**
36  	 * @return the idUser
37  	 */
38  	public Long getIdUser() {
39  		return idUser;
40  	}
41  
42  	/**
43  	 * @param idUser
44  	 *            the idUser to set
45  	 */
46  	public void setIdUser(Long idUser) {
47  		this.idUser = idUser;
48  	}
49  
50  	/**
51  	 * @return the name
52  	 */
53  	public String getName() {
54  		return name;
55  	}
56  
57  	/**
58  	 * @param name
59  	 *            the name to set
60  	 */
61  	public void setName(String name) {
62  		this.name = name;
63  	}
64  
65  	/**
66  	 * @return the value
67  	 */
68  	public String getValue() {
69  		return value;
70  	}
71  
72  	/**
73  	 * @param value
74  	 *            the value to set
75  	 */
76  	public void setValue(String value) {
77  		this.value = value;
78  	}
79  
80  }