/*
* VITacademics
* Copyright (C) 2015 Aneesh Neelam <neelam.aneesh@gmail.com>
* Copyright (C) 2015 Saurabh Joshi <saurabhjoshi94@outlook.com>
* Copyright (C) 2015 Gaurav Agerwala <gauravagerwala@gmail.com>
* Copyright (C) 2015 Karthik Balakrishnan <karthikb351@gmail.com>
* Copyright (C) 2015 Pulkit Juneja <pulkit.16296@gmail.com>
* Copyright (C) 2015 Hemant Jain <hemanham@gmail.com>
* Copyright (C) 2015 Darshan Mehta <darshanmehta17@gmail.com>
*
* This file is part of VITacademics.
*
* VITacademics is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* VITacademics is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with VITacademics. If not, see <http://www.gnu.org/licenses/>.
*/
package com.karthikb351.vitinfo2.contract;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import co.uk.rushorm.core.RushObject;
import co.uk.rushorm.core.annotations.RushTableAnnotation;
@RushTableAnnotation
public class Contributor extends RushObject {
@Expose
@SerializedName("_id")
private int contributorId;
@Expose
@SerializedName("name")
private String name;
@Expose
@SerializedName("email")
private String email;
@Expose
@SerializedName("role")
private String role;
@Expose
@SerializedName("facebook_profile")
private String facebookProfile;
@Expose
@SerializedName("github_profile")
private String githubProfile;
public Contributor() {
}
public Contributor(int contributorId, String name, String email, String role, String facebookProfile, String githubProfile) {
this.contributorId = contributorId;
this.name = name;
this.email = email;
this.role = role;
this.facebookProfile = facebookProfile;
this.githubProfile = githubProfile;
}
public int getContributorId() {
return contributorId;
}
public void setContributorId(int contributorId) {
this.contributorId = contributorId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public String getFacebookProfile() {
return facebookProfile;
}
public void setFacebookProfile(String facebookProfile) {
this.facebookProfile = facebookProfile;
}
public String getGithubProfile() {
return githubProfile;
}
public void setGithubProfile(String githubProfile) {
this.githubProfile = githubProfile;
}
}