/**
* Copyright 2011 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 org.openmrs.module.hospitalcore.util.ActionValue;
public class InventoryStoreDrugIndent implements Serializable {
private static final long serialVersionUID = 1L;
private Integer id;
private InventoryStore store;
private String name;
private Date createdOn;
private Integer subStoreStatus;
private Integer mainStoreStatus;
private InventoryStoreDrugTransaction transaction;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public InventoryStore getStore() {
return store;
}
public void setStore(InventoryStore store) {
this.store = store;
}
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 Integer getSubStoreStatus() {
return subStoreStatus;
}
public void setSubStoreStatus(Integer subStoreStatus) {
this.subStoreStatus = subStoreStatus;
}
public Integer getMainStoreStatus() {
return mainStoreStatus;
}
public String getMainStoreStatusName() {
return ActionValue.getIndentMainbStoreName(mainStoreStatus);
}
public String getSubStoreStatusName() {
return ActionValue.getIndentSubStoreName(subStoreStatus);
}
public void setMainStoreStatus(Integer mainStoreStatus) {
this.mainStoreStatus = mainStoreStatus;
}
public InventoryStoreDrugTransaction getTransaction() {
return transaction;
}
public void setTransaction(InventoryStoreDrugTransaction transaction) {
this.transaction = transaction;
}
}