content: package vmware.services.employee.model;
  
  import org.springframework.data.annotation.Id;
  import org.springframework.data.mongodb.core.mapping.Document;
  
  @Document(collection = "employee")
  public class Employee {
  
  	@Id
  	private String id;
  	private Long organizationId;
  	private Long departmentId;
  	private String name;
  	private int age;
  	private String position;
  
  	public Employee() {
  
  	}
  	
  	public Employee(Long organizationId, Long departmentId, String name, int age, String position) {
  		this.organizationId = organizationId;
  		this.departmentId = departmentId;
  		this.name = name;
  		this.age = age;
  		this.position = position;
  	}
  
  	public String getId() {
  		return id;
  	}
  
  	public void setId(String id) {
  		this.id = id;
  	}
  
  	public Long getOrganizationId() {
  		return organizationId;
  	}
  
  	public void setOrganizationId(Long organizationId) {
  		this.organizationId = organizationId;
  	}
  
  	public Long getDepartmentId() {
  		return departmentId;
  	}
  
  	public void setDepartmentId(Long departmentId) {
  		this.departmentId = departmentId;
  	}
  
  	public String getName() {
  		return name;
  	}
  
  	public void setName(String name) {
  		this.name = name;
  	}
  
  	public int getAge() {
  		return age;
  	}
  
  	public void setAge(int age) {
  		this.age = age;
  	}
  
  	public String getPosition() {
  		return position;
  	}
  
  	public void setPosition(String position) {
  		this.position = position;
  	}
  
  	@Override
  	public String toString() {
  		return "Employee [id=" + id + ", organizationId=" + organizationId + ", departmentId=" + departmentId
  				+ ", name=" + name + ", position=" + position + "]";
  	}
  
  }
  