1 package com.srv4pos.server.api.softwareVendor;
2
3 import com.srv4pos.server.api.infrastructure.Info;
4 import org.springframework.roo.addon.javabean.RooJavaBean;
5 import org.springframework.roo.addon.json.RooJson;
6 import org.springframework.roo.addon.tostring.RooToString;
7
8 import javax.validation.Valid;
9 import javax.validation.constraints.NotNull;
10 import javax.validation.constraints.Size;
11
12
13
14
15
16
17
18 @RooJavaBean
19 @RooToString
20 @RooJson(deepSerialize = true)
21 public class SoftwareVendorInfo implements Info {
22
23
24
25
26 private long id;
27
28
29
30
31 @NotNull
32 @Size(max = 32, min = 1)
33 private String name;
34
35
36
37
38 @NotNull
39 @Valid
40 private EmailAccountInfo salesEmailInfo;
41
42
43
44
45 @NotNull
46 @Valid
47 private MailSettingsInfo mailSettingsInfo;
48
49 private boolean canManageControlUnit;
50 }