package shared.communication.common;

import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.io.Serializable;


@XStreamAlias("field")
public class Fields implements Serializable{

    private String knownData;
    private int id;
    private int number;
    private String title;
    private String helpUrl;
    private int xCoord;
    private int pixelWidth;
    private int projectId;


    public Fields(int id, int number,
            String title, String helpUrl,
            int xCoord, int pixelWidth,
            String knownData, int projectId) {

        this.id = id;
        this.number = number;
        this.title = title;
        this.helpUrl = helpUrl;
        this.xCoord = xCoord;
        this.pixelWidth = pixelWidth;
        this.knownData = knownData;
        this.projectId = projectId;
    }

    public String getKnownData() {
        return knownData;
    }

    public int getId() {
        return id;
    }

    public int getNumber() {
        return number;
    }

    public String getTitle() {
        return title;
    }

    public String getHelpUrl() {
        return helpUrl;
    }

    public int getxCoord() {
        return xCoord;
    }

    public int getPixelWidth() {
        return pixelWidth;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }
}
