/**
* Copyright 2010 Society for Health Information Systems Programmes, India (HISP India)
*
* This file is part of Hospital-core module.
*
* Hospital-core module 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.
* Hospital-core module 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 Hospital-core module. If not, see <http://www.gnu.org/licenses/>.
*
**/
package org.openmrs.module.hospitalcore.model;
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import org.openmrs.Concept;
/**
* <p> Class: Department </p>
* <p> Package: org.openmrs.module.hospitalcore.model </p>
* <p> Author: Nguyen manh chuyen </p>
* <p> Update by: Nguyen manh chuyen </p>
* <p> Version: $1.0 </p>
* <p> Create date: Apr 13, 2011 12:30:44 PM </p>
* <p> Update date: Apr 13, 2011 12:30:44 PM </p>
**/
public class Department implements Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private String name;
private Date createdOn;
private String createdBy;
private Set<Concept> wards;
private Boolean retired =false;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Date getCreatedOn() {
return createdOn;
}
public void setCreatedOn(Date createdOn) {
this.createdOn = createdOn;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public Set<Concept> getWards() {
return wards;
}
public void setWards(Set<Concept> wards) {
this.wards = wards;
}
public Boolean getRetired() {
return retired;
}
public void setRetired(Boolean retired) {
this.retired = retired;
}
}