1 package pl.matsuo.core.model.numeration;
2
3 import pl.matsuo.core.model.AbstractEntity;
4
5 import javax.persistence.Entity;
6 import javax.validation.constraints.NotNull;
7
8
9
10
11
12 @Entity
13 public class NumerationSchema extends AbstractEntity {
14
15
16 protected Integer value;
17 @NotNull
18 protected Integer minValue;
19 protected Integer maxValue;
20 protected String code;
21 protected String pattern;
22
23
24
25 protected String creationStrategy;
26
27
28 public Integer getValue() {
29 return value;
30 }
31 public void setValue(Integer value) {
32 this.value = value;
33 }
34 public String getPattern() {
35 return pattern;
36 }
37 public void setPattern(String pattern) {
38 this.pattern = pattern;
39 }
40 public String getCode() {
41 return code;
42 }
43 public void setCode(String code) {
44 this.code = code;
45 }
46 public Integer getMaxValue() {
47 return maxValue;
48 }
49 public void setMaxValue(Integer maxValue) {
50 this.maxValue = maxValue;
51 }
52 public Integer getMinValue() {
53 return minValue;
54 }
55 public void setMinValue(Integer minValue) {
56 this.minValue = minValue;
57 }
58 public String getCreationStrategy() {
59 return creationStrategy;
60 }
61 public void setCreationStrategy(String creationStrategy) {
62 this.creationStrategy = creationStrategy;
63 }
64 }
65