1
+ package io .jans .ads .model ;
2
+
3
+ import io .jans .orm .annotation .AttributeName ;
4
+ import io .jans .orm .annotation .DataEntry ;
5
+ import io .jans .orm .annotation .JsonObject ;
6
+ import io .jans .orm .annotation .ObjectClass ;
7
+ import io .jans .orm .model .base .Entry ;
8
+
9
+ import java .util .Date ;
10
+
11
+ @ DataEntry
12
+ @ ObjectClass (value = "adsPrjDeployment" )
13
+ public class Deployment extends Entry {
14
+
15
+ public static final String ASSETS_ATTR = "adsPrjAssets" ;
16
+
17
+ @ AttributeName (name = "jansId" )
18
+ private String id ;
19
+
20
+ @ AttributeName (name = "jansStartDate" )
21
+ private Date createdAt ;
22
+
23
+ @ AttributeName (name = "jansActive" )
24
+ private boolean taskActive ;
25
+
26
+ @ AttributeName (name = "jansEndDate" )
27
+ private Date finishedAt ;
28
+
29
+ @ AttributeName (name = Deployment .ASSETS_ATTR )
30
+ private String assets ;
31
+
32
+ @ JsonObject
33
+ @ AttributeName (name = "adsPrjDeplDetails" )
34
+ private DeploymentDetails details ;
35
+
36
+ public String getId () {
37
+ return id ;
38
+ }
39
+
40
+ public void setId (String id ) {
41
+ this .id = id ;
42
+ }
43
+
44
+ public Date getCreatedAt () {
45
+ return createdAt ;
46
+ }
47
+
48
+ public void setCreatedAt (Date createdAt ) {
49
+ this .createdAt = createdAt ;
50
+ }
51
+
52
+ public boolean isTaskActive () {
53
+ return taskActive ;
54
+ }
55
+
56
+ public void setTaskActive (boolean taskActive ) {
57
+ this .taskActive = taskActive ;
58
+ }
59
+
60
+ public Date getFinishedAt () {
61
+ return finishedAt ;
62
+ }
63
+
64
+ public void setFinishedAt (Date finishedAt ) {
65
+ this .finishedAt = finishedAt ;
66
+ }
67
+
68
+ public String getAssets () {
69
+ return assets ;
70
+ }
71
+
72
+ public void setAssets (String assets ) {
73
+ this .assets = assets ;
74
+ }
75
+
76
+ public DeploymentDetails getDetails () {
77
+ return details ;
78
+ }
79
+
80
+ public void setDetails (DeploymentDetails details ) {
81
+ this .details = details ;
82
+ }
83
+
84
+ }
0 commit comments