1 package com.srv4pos.server.api.activation;
2
3 import org.springframework.roo.addon.javabean.RooJavaBean;
4 import org.springframework.roo.addon.json.RooJson;
5 import org.springframework.roo.addon.tostring.RooToString;
6 import com.srv4pos.server.api.infrastructure.Info;
7
8 import javax.validation.constraints.NotNull;
9 import javax.validation.constraints.Size;
10
11
12
13
14
15 @RooJavaBean
16 @RooToString
17 @RooJson(deepSerialize = true)
18 public class ActivationSecurityInfo implements Info {
19
20
21
22
23 @NotNull
24 private String apiKey;
25
26
27
28
29
30
31
32
33 @NotNull
34 @Size(max = 25)
35 private String productionNumber;
36
37
38
39
40 @NotNull
41 private Long activationId;
42
43
44 @Size(max = 96)
45 private String address;
46
47 @Size(max = 12)
48 private String zip;
49
50 @Size(max = 50)
51 private String city;
52
53 @Size(max = 50)
54 private String phone;
55 }