1 package com.dto;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 import org.hibernate.validator.constraints.NotEmpty;
25
26 import javax.validation.constraints.NotNull;
27 import java.util.List;
28
29
30
31
32 public class ProjectGroupRequestDto {
33 @NotNull(message = "{FieldIsMandatory}")
34 @NotEmpty(message = "{FieldCanNotBeEmpty}")
35 private String projectGuid;
36
37 @NotNull(message = "{FieldIsMandatory}")
38 @NotEmpty(message = "{FieldCanNotBeEmpty}")
39 private List<String> groups;
40
41 public String getProjectGuid() {
42 return projectGuid;
43 }
44
45 public void setProjectGuid(String projectGuid) {
46 this.projectGuid = projectGuid;
47 }
48
49 public List<String> getGroups() {
50 return groups;
51 }
52
53 public void setGroups(List<String> groups) {
54 this.groups = groups;
55 }
56 }