package de.metalmatze.krautreporter.models;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

import java.util.Date;

@Table(name = "articles")
public class ArticleModel extends Model {

    @Column(name = "uuid", index = true, unique = true)
    public String uuid;

    @Column(name = "title")
    public String title;

    @Column(name = "date")
    public Date date;

    @Column(name = "link")
    public String link;

    @Column(name = "image")
    public String image;

    @Column(name = "excerpt")
    public String excerpt;

    @Column(name = "content")
    public String content;

}

package de.metalmatze.krautreporter.models;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

import java.util.Date;

@Table(name = "articles")
public class ArticleModel extends Model {

    @Column(name = "uuid", index = true, unique = true)
    public String uuid;

    @Column(name = "title")
    public String title;

    @Column(name = "date")
    public Date date;

    @Column(name = "link")
    public String link;

    @Column(name = "image")
    public String image;

    @Column(name = "excerpt")
    public String excerpt;

    @Column(name = "content")
    public String content;

    @Override
    public String toString() {
        return "ArticleModel{" +
                "uuid='" + uuid + '\'' +
                ", title='" + title + '\'' +
                ", date=" + date +
                ", link='" + link + '\'' +
                ", image='" + image + '\'' +
                ", excerpt='" + excerpt + '\'' +
                '}';
    }
}

Add toString() without content to ArticleModel for debugging