Skip to content

Commit 66a59f5

Browse files
authored
Merge pull request #70 from dwasinge/creation-details
Creation Details for Engagements
2 parents fac861d + 0661187 commit 66a59f5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package com.redhat.labs.omp.models;
2+
3+
import java.time.LocalDateTime;
4+
5+
import lombok.AllArgsConstructor;
6+
import lombok.Builder;
7+
import lombok.Data;
8+
import lombok.NoArgsConstructor;
9+
10+
@Data
11+
@Builder
12+
@NoArgsConstructor
13+
@AllArgsConstructor
14+
public class CreationDetails {
15+
16+
private String createdByUser;
17+
private String createdByEmail;
18+
private LocalDateTime createdOn;
19+
20+
}

src/main/java/com/redhat/labs/omp/models/Engagement.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ public class Engagement {
4040

4141
private Status status;
4242
private List<Commit> commits;
43+
private CreationDetails creationDetails;
4344

4445
}

0 commit comments

Comments
 (0)