package eu.dnetlib.espas.gui.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.util.Date;

/**
 * Created by stefania on 10/14/15.
 */
public class Topic implements IsSerializable {

    private int id;
    private String topicName;
    private String topicDescription;
    private Date date;
    private float weight;
    private String questionOrder;

    public Topic() {
    }

    public Topic(int id, String topicName, String topicDescription, Date date, float weight, String questionOrder) {
        this.id = id;
        this.topicName = topicName;
        this.topicDescription = topicDescription;
        this.date = date;
        this.weight = weight;
        this.questionOrder = questionOrder;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getTopicDescription() {
        return topicDescription;
    }

    public void setTopicDescription(String topicDescription) {
        this.topicDescription = topicDescription;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public float getWeight() {
        return weight;
    }

    public void setWeight(float weight) {
        this.weight = weight;
    }

    public String getQuestionOrder() {
        return questionOrder;
    }

    public void setQuestionOrder(String questionOrder) {
        this.questionOrder = questionOrder;
    }
}
