| .. | .. |
|---|
| 95 | 95 | @JsonProperty("license_preactivation") |
|---|
| 96 | 96 | private boolean licensePreactivation; |
|---|
| 97 | 97 | |
|---|
| 98 | + @Column(name = "default_valid_period") |
|---|
| 99 | + @JsonProperty("default_valid_period") |
|---|
| 100 | + private Integer defaultValidPeriod; |
|---|
| 101 | + |
|---|
| 98 | 102 | @OneToMany(fetch = FetchType.LAZY, mappedBy = "pack") |
|---|
| 99 | 103 | private Set<PackMetadata> metadata; |
|---|
| 100 | 104 | |
|---|
| .. | .. |
|---|
| 327 | 331 | return (id == null ? 0 : id.hashCode()); |
|---|
| 328 | 332 | } |
|---|
| 329 | 333 | |
|---|
| 334 | + public Integer getDefaultValidPeriod() { |
|---|
| 335 | + return defaultValidPeriod; |
|---|
| 336 | + } |
|---|
| 337 | + |
|---|
| 338 | + public void setDefaultValidPeriod(Integer defaultValidPeriod) { |
|---|
| 339 | + this.defaultValidPeriod = defaultValidPeriod; |
|---|
| 340 | + } |
|---|
| 341 | + |
|---|
| 330 | 342 | public static class Action { |
|---|
| 331 | 343 | public static final int CREATE = 1; |
|---|
| 332 | 344 | public static final int ACTIVATION = 2; |
|---|