package org.hibernate.test.annotations.embedded;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Has collection of embeddable objects inside embeddable objects for testing HHH-4598
 */

@Entity
public class FavoriteThings {
	@Id
	int id;

	@Embedded
	InternetFavorites web;

	public InternetFavorites getWeb() {
		return web;
	}

	public void setWeb(InternetFavorites web) {
		this.web = web;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
