package education.mahmoud.quranyapp.datalayer.local; import androidx.room.Entity; import androidx.room.Ignore; import androidx.room.PrimaryKey; @Entity(tableName = "ayahs") public class AyahItem { @PrimaryKey private int ayahIndex; private int surahIndex; private int ayahInSurahIndex; private String text; private String textClean; private String audioPath; public AyahItem(int ayahIndex, int surahIndex, int ayahInSurahIndex, String text, String textClean, String audioPath) { this.ayahIndex = ayahIndex; this.surahIndex = surahIndex; this.ayahInSurahIndex = ayahInSurahIndex; this.text = text; this.textClean = textClean; this.audioPath = audioPath; } @Ignore public AyahItem(int ayahIndex, int surahIndex, int ayahInSurahIndex, String text, String textClean) { this.ayahIndex = ayahIndex; this.surahIndex = surahIndex; this.ayahInSurahIndex = ayahInSurahIndex; this.text = text; this.textClean = textClean; } public int getAyahIndex() { return ayahIndex; } public void setAyahIndex(int ayahIndex) { this.ayahIndex = ayahIndex; } public int getSurahIndex() { return surahIndex; } public void setSurahIndex(int surahIndex) { this.surahIndex = surahIndex; } public String getText() { return text; } public void setText(String text) { this.text = text; } public int getAyahInSurahIndex() { return ayahInSurahIndex; } public void setAyahInSurahIndex(int ayahInSurahIndex) { this.ayahInSurahIndex = ayahInSurahIndex; } public String getTextClean() { return textClean; } public void setTextClean(String textClean) { this.textClean = textClean; } public String getAudioPath() { return audioPath; } public void setAudioPath(String audioPath) { this.audioPath = audioPath; } }