1 package com.srv4pos.server.api.posplus;
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
7 import javax.validation.constraints.Min;
8 import javax.validation.constraints.NotNull;
9 import java.util.Date;
10 import java.util.Map;
11
12
13
14
15
16 @RooJavaBean
17 @RooToString
18 @RooJson(deepSerialize = true)
19 public class KdInfo {
20
21 @Min(0)
22 private long brutto;
23
24
25
26
27
28 @NotNull
29 private Map<Integer, Long> vatRateToSum;
30 private boolean refund;
31 @NotNull
32 private PrintType printType;
33
34
35
36
37 private int receiptNumber;
38 @NotNull
39 private Date date;
40 }