rsanchez
2017-04-03 347803bd8d8349baa0577156896a1ec924a69e6d
securis/src/main/java/net/curisit/securis/db/Pack.java
....@@ -56,6 +56,8 @@
5656
5757 private String comments;
5858
59
+ private Boolean frozen;
60
+
5961 @Column(name = "creation_timestamp")
6062 @JsonProperty("creation_timestamp")
6163 private Date creationTimestamp;
....@@ -365,6 +367,14 @@
365367 return String.format("Pack: ID: %d, code: %s", id, code);
366368 }
367369
370
+ public boolean isFrozen() {
371
+ return frozen != null && frozen;
372
+ }
373
+
374
+ public void setFrozen(Boolean frozen) {
375
+ this.frozen = frozen;
376
+ }
377
+
368378 public static class Action {
369379 public static final int CREATE = 1;
370380 public static final int ACTIVATION = 2;