Skip to content

Commit

Permalink
Merge 6032c67 into 1418bea
Browse files Browse the repository at this point in the history
  • Loading branch information
wwelling committed Dec 1, 2020
2 parents 1418bea + 6032c67 commit 2b7602f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/edu/tamu/eider/app/model/Entity.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Table;
import javax.validation.constraints.Size;

import com.fasterxml.jackson.annotation.JsonInclude;
Expand All @@ -18,6 +20,7 @@
@NoArgsConstructor
@javax.persistence.Entity
@JsonInclude(Include.NON_NULL)
@Table(name = "entities", indexes = { @Index(columnList = "url") })
public class Entity {

@Id
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/edu/tamu/eider/app/model/Identifier.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.Size;

import lombok.Data;
Expand All @@ -19,6 +21,7 @@
@NoArgsConstructor
@javax.persistence.Entity
@JsonInclude(Include.NON_NULL)
@Table(name = "identifiers", indexes = { @Index(columnList = "identifier") })
public class Identifier {

@Id
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/edu/tamu/eider/app/model/IdentifierType.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.Size;

import lombok.Data;
Expand All @@ -18,6 +19,7 @@
@NoArgsConstructor
@javax.persistence.Entity
@JsonInclude(Include.NON_NULL)
@Table(name = "identifier_types")
public class IdentifierType {

@Id
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/edu/tamu/eider/app/model/Name.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.validation.constraints.Size;

import com.fasterxml.jackson.annotation.JsonInclude.Include;
Expand All @@ -18,6 +20,7 @@
@NoArgsConstructor
@javax.persistence.Entity
@JsonInclude(Include.NON_NULL)
@Table(name = "names", indexes = { @Index(columnList = "name") })
public class Name {

@Id
Expand Down

0 comments on commit 2b7602f

Please sign in to comment.