Created
January 17, 2018 19:28
-
-
Save rowanl/b0315f79b82838e71f8d73913481f4f7 to your computer and use it in GitHub Desktop.
playframework-kubernetes - Charity model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
@Table(name="charity") | |
public class Charity extends Model { | |
@Id | |
public Integer id; | |
@Column(name="name") | |
public String name; | |
@Column(name="short_name") | |
public String shortName; | |
@Column(name="url") | |
public String url; | |
@Column(name="description") | |
public String description; | |
@Column(name="image") | |
public String image; | |
@Column(name="image_alt") | |
public String imageAlt; | |
@Column(name="vote_count") | |
public Integer voteCount; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment