Last active
May 14, 2018 20:19
-
-
Save xcesco/9334580c6e4399d3f66f7155d71553ca to your computer and use it in GitHub Desktop.
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
@BindType("item") | |
@BindSqlType(name = "articles") | |
public class Article extends Entity { | |
public String title; | |
public String description; | |
public URL link; | |
public String author; | |
@BindSqlColumn(nullable = false, columnType = ColumnType.UNIQUE) | |
public String guid; | |
public URL comments; | |
@BindSqlColumn(parentEntity = Channel.class) | |
public long channelId; | |
@Bind("thumbnail") | |
@BindXml(namespace="media") | |
public Thumbnail thumbnail; | |
public boolean read; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment