Commit 318f78fb by Tuomas Riihimäki

Place slot fixes

1 parent a40920ed
......@@ -41,7 +41,7 @@ import fi.codecrew.moya.model.PlaceSlot_;
@Stateless
@LocalBean
public class PlaceSlotFacade extends IntegerPkGenericFacade<Place> {
public class PlaceSlotFacade extends IntegerPkGenericFacade<PlaceSlot> {
private static final Logger logger = LoggerFactory.getLogger(PlaceSlotFacade.class);
......@@ -50,7 +50,7 @@ public class PlaceSlotFacade extends IntegerPkGenericFacade<Place> {
public PlaceSlotFacade() {
super(Place.class);
super(PlaceSlot.class);
}
/**
......
......@@ -77,4 +77,12 @@ public class PlaceSlot extends GenericEntity {
this.place = place;
}
public Product getProduct() {
return product;
}
public void setProduct(Product product) {
this.product = product;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!