Skip to content

Commit

Permalink
Merge b994195 into 50394bc
Browse files Browse the repository at this point in the history
  • Loading branch information
rladdusaw committed Apr 29, 2020
2 parents 50394bc + b994195 commit e9c293a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/main/java/edu/tamu/app/model/Product.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,26 @@ public class Product extends ValidatingBaseEntity {
@JsonView(ApiView.Partial.class)
private String scopeId;

@Column(nullable = true)
@JsonInclude(Include.NON_NULL)
@JsonView(ApiView.Partial.class)
private String devUrl;

@Column(nullable = true)
@JsonInclude(Include.NON_NULL)
@JsonView(ApiView.Partial.class)
private String preUrl;

@Column(nullable = true)
@JsonInclude(Include.NON_NULL)
@JsonView(ApiView.Partial.class)
private String productionUrl;

@Column(nullable = true)
@JsonInclude(Include.NON_NULL)
@JsonView(ApiView.Partial.class)
private String wikiUrl;

@JsonInclude(Include.NON_NULL)
@ManyToOne(fetch = EAGER, cascade = { DETACH, REFRESH, MERGE }, optional = true)
@JsonView(ApiView.Partial.class)
Expand Down

0 comments on commit e9c293a

Please sign in to comment.