rsanchez
2014-10-17 5805f0a08e69de728bd891d1c09ff32fc297977a
securis/src/main/java/net/curisit/securis/db/Application.java
....@@ -42,7 +42,12 @@
4242 private String name;
4343 private String description;
4444
45
+ @Column(name = "license_filename")
46
+ @JsonProperty("license_filename")
47
+ private String licenseFilename;
48
+
4549 @Column(name = "creation_timestamp")
50
+ @JsonProperty("creation_timestamp")
4651 private Date creationTimestamp;
4752
4853 @JsonIgnore
....@@ -54,11 +59,11 @@
5459 @OneToMany(fetch = FetchType.LAZY, mappedBy = "application")
5560 private Set<ApplicationMetadata> metadata;
5661
57
- public int getId() {
62
+ public Integer getId() {
5863 return id;
5964 }
6065
61
- public void setId(int id) {
66
+ public void setId(Integer id) {
6267 this.id = id;
6368 }
6469
....@@ -117,4 +122,12 @@
117122
118123 return (id == null ? 0 : id.hashCode());
119124 }
125
+
126
+ public String getLicenseFilename() {
127
+ return licenseFilename;
128
+ }
129
+
130
+ public void setLicenseFilename(String licenseFilename) {
131
+ this.licenseFilename = licenseFilename;
132
+ }
120133 }