package glossary.engine.model;

/**
 * Created by Pavel Máca <maca.pavel@gmail.com> on 05.07.2017.
 */
public class Card {
    private int id;
    private int cardListId;

    private String word1;
    private String word2;

    public Card(int id, int cardListId, String word1, String word2) {
        this.id = id;
        this.cardListId = cardListId;
        this.word1 = word1;
        this.word2 = word2;
    }

    public Card(String word1, String word2){
        this.word1 = word1;
        this.word2 = word2;
    }

    public int getId() {
        return id;
    }

    public int getCardListId() {
        return cardListId;
    }

    public String getWord1() {
        return word1;
    }

    public String getWord2() {
        return word2;
    }
}

@@ -454,16 +454,17 @@
 g word2)
+ 
 %7B%0A      
@@ -756,11 +756,317 @@
 2;%0A    %7D
+%0A%0A    public void setCardListId(int cardListId) %7B%0A        this.cardListId = cardListId;%0A    %7D%0A%0A    public void setId(int id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public void setWord1(String word1) %7B%0A        this.word1 = word1;%0A    %7D%0A%0A    public void setWord2(String word2) %7B%0A        this.word2 = word2;%0A    %7D
 %0A%7D%0A

add setters to Card data object