/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.test.hql; import java.io.Serializable; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.ManyToOne; @Entity public class TrtPanel implements Serializable { @Id private Long id; @ManyToOne(fetch = FetchType.LAZY) private Panel panel; private Long clientId; private String deltaStamp; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Panel getPanel() { return panel; } public void setPanel(Panel panel) { this.panel = panel; } public Long getClientId() { return clientId; } public void setClientId(Long clientId) { this.clientId = clientId; } public String getDeltaStamp() { return deltaStamp; } public void setDeltaStamp(String deltaStamp) { this.deltaStamp = deltaStamp; } }