// Path: FoodTrayService/src/main/java/com/github/joffryferrater/foodtrayservice/domain/Item.java
// @lombok.Getter
// public class Item {
// 
// 	@JsonProperty("Item Code")
// 	private String itemCode;
// 	@JsonProperty("Name")
// 	private String name;
// 	
// 	public Item() {
// 		super();
// 	}
// 	
// 	public Item(String itemCode, String name) {
// 		this.itemCode = itemCode;
// 		this.name = name;
// 	}
// }


import org.springframework.stereotype.Component;
import com.github.joffryferrater.foodtrayservice.domain.Item;

package com.github.joffryferrater.foodtrayservice.repository;



/**
 * Fall back function if ItemService is not available.
 * 
 * @author Joffry Ferrater
 *
 */
@Component
public class ItemServiceFallback implements ItemServiceRepository {

	@Override

// Path: FoodTrayService/src/main/java/com/github/joffryferrater/foodtrayservice/domain/Item.java
// @lombok.Getter
// public class Item {
// 
// 	@JsonProperty("Item Code")
// 	private String itemCode;
// 	@JsonProperty("Name")
// 	private String name;
// 	
// 	public Item() {
// 		super();
// 	}
// 	
// 	public Item(String itemCode, String name) {
// 		this.itemCode = itemCode;
// 		this.name = name;
// 	}
// }


// Path: FoodTrayService/src/main/java/com/github/joffryferrater/foodtrayservice/repository/ItemServiceFallback.java
import org.springframework.stereotype.Component;
import com.github.joffryferrater.foodtrayservice.domain.Item;

package com.github.joffryferrater.foodtrayservice.repository;



/**
 * Fall back function if ItemService is not available.
 * 
 * @author Joffry Ferrater
 *
 */
@Component
public class ItemServiceFallback implements ItemServiceRepository {

	@Override

	public Item findByItemCode(String itemCode) {
