Skip to content

Commit

Permalink
Merge 01ea66b into 39b66f7
Browse files Browse the repository at this point in the history
  • Loading branch information
1-alex98 committed Jul 31, 2018
2 parents 39b66f7 + 01ea66b commit 47e39bf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/com/faforever/api/data/domain/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

Expand All @@ -33,15 +35,16 @@
public class Message {

public static final String TYPE_NAME = "message";
private int id;
private Integer id;
private String key;
private String language;
private String region;
private String value;

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id")
public int getId() {
public Integer getId() {
return id;
}

Expand Down

0 comments on commit 47e39bf

Please sign in to comment.