package com.servinglynk.hmis.warehouse.core.model; 

import java.time.LocalDateTime;
import java.util.Date;
import java.util.UUID;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

@JsonRootName("inventory")
public class Inventory extends ClientModel{


      private UUID inventoryId;

      private Integer availabilty;
      @JsonProperty("bedInventory")
      private UUID bedinventory;
      
      private Integer cocCode;
      
      @JsonProperty("bedType")
      private Integer bedtype;

      @JsonProperty("hmisParticipatingBeds")
      private Integer hmisparticipatingbeds;
      @JsonProperty("houseHoldType")
      private Integer householdtype;
      
      @JsonProperty("chBedInventory")
      private Integer chbedinventory;
      
      @JsonProperty("vetBedInventory")
      private Integer vetbedinventory;
      @JsonProperty("youthBedInventory")
      private Integer youthbedinventory;
      
      public Integer getChbedinventory() {
		return chbedinventory;
	}
	public void setchbedinventory(Integer chbedinventory) {
		this.chbedinventory = chbedinventory;
	}
	public Integer getVetbedinventory() {
		return vetbedinventory;
	}
	public void setVetbedinventory(Integer vetbedinventory) {
		this.vetbedinventory = vetbedinventory;
	}
	public Integer getYouthbedinventory() {
		return youthbedinventory;
	}
	public void setYouthbedinventory(Integer youthbedinventory) {
		this.youthbedinventory = youthbedinventory;
	}
	

      @JsonSerialize(using=JsonDateSerializer.class)
      @JsonDeserialize(using=JsonDateDeserializer.class)
      @JsonProperty("inventoryEndDate")
      private LocalDateTime inventoryenddate;

      @JsonSerialize(using=JsonDateSerializer.class)
      @JsonDeserialize(using=JsonDateDeserializer.class)
      @JsonProperty("inventoryStartDate")
      private LocalDateTime inventorystartdate;
      @JsonProperty("unitInventory")
      private Integer unitinventory;
      
      @JsonSerialize(using=JsonDateSerializer.class)
      @JsonDeserialize(using=JsonDateDeserializer.class)
      private LocalDateTime informationDate;



      public UUID getInventoryId(){
          return inventoryId;
      }
      public void setInventoryId(UUID inventoryId){
          this.inventoryId = inventoryId;
      }
      public Integer getAvailabilty(){
          return availabilty;
      }
      public void setAvailabilty(Integer availabilty){
          this.availabilty = availabilty;
      }
      public Integer getBedinventory(){
          return bedinventory;
      }
      public void setBedinventory(Integer bedinventory){
          this.bedinventory = bedinventory;
      }
      public Integer getBedtype(){
          return bedtype;
      }
      public void setBedtype(Integer bedtype){
          this.bedtype = bedtype;
      }
      public Integer getHmisparticipatingbeds(){
          return hmisparticipatingbeds;
      }
      public void setHmisparticipatingbeds(Integer hmisparticipatingbeds){
          this.hmisparticipatingbeds = hmisparticipatingbeds;
      }
      public Integer getHouseholdtype(){
          return householdtype;
      }
      public void setHouseholdtype(Integer householdtype){
          this.householdtype = householdtype;
      }
      public LocalDateTime getInventoryenddate(){
          return inventoryenddate;
      }
      public void setInventoryenddate(LocalDateTime inventoryenddate){
          this.inventoryenddate = inventoryenddate;
      }
      public LocalDateTime getInventorystartdate(){
          return inventorystartdate;
      }
      public void setInventorystartdate(LocalDateTime inventorystartdate){
          this.inventorystartdate = inventorystartdate;
      }
      public Integer getUnitinventory(){
          return unitinventory;
      }
      public void setUnitinventory(Integer unitinventory){
          this.unitinventory = unitinventory;
      }
	public Integer getCocCode() {
		return cocCode;
	}
	public void setCocCode(Integer cocCode) {
		this.cocCode = cocCode;
	}
	public LocalDateTime getInformationDate() {
		return informationDate;
	}
	public void setInformationDate(LocalDateTime informationDate) {
		this.informationDate = informationDate;
	}
	
 }

@@ -555,20 +555,23 @@
 private 
-UUID
+Integer
  bedinve

Fix compilation error