Task-1-Java-REST-API-example/springtest/src/main/java/com/springtest/springtest/server/Servers.java
package com.springtest.springtest.server;

import org.springframework.data.mongodb.core.mapping.Document;



@Document(collection="server")
public class Servers {
	private int id;
	private String name;
	private String language;
	private String framework;
	public Servers(int id, String name, String language, String framework) {
		this.id = id;
		this.name = name;
		this.language = language;
		this.framework = framework;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
	public String getFramework() {
		return framework;
	}
	public void setFramework(String framework) {
		this.framework = framework;
	}
	
	

}
