blob: 0440e8e8a86c5b6ada76701eaf3f95a1864a3733 [file] [log] [blame]
/*
* Copyright (c) 1998, 2020 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// 8/12/2015-2.6 Mythily Parthasarathy
// - 474752: Creation of TireDetail
package org.eclipse.persistence.testing.models.jpa.orphanremoval;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
@Entity
@Table(name="OR_TIREDETAIL")
public class TireDetail {
@Id
@Column(name="TIRE_ID")
private int tireId;
@Column(nullable=true)
private String detail;
public void setTireId(int id) {
this.tireId = id;
}
public int getTireId() {
return tireId;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getDetail() {
return this.detail;
}
}