blob: b4d87e1ac04b3a47647ab5c111cd2ff9a254e843 [file] [log] [blame]
/*
* Copyright (c) 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:
// Oracle - initial API and implementation
package org.eclipse.persistence.jpa.returninsert.model;
import java.io.Serializable;
import java.util.Date;
import jakarta.persistence.*;
import org.eclipse.persistence.annotations.ReturnInsert;
/**
* The primary key class for the TEST_RETURNINSERT_MASTER database table.
*
*/
@Embeddable
public class ReturnInsertMasterPK implements Serializable {
private static final long serialVersionUID = -7028778781258939822L;
@ReturnInsert(returnOnly = true)
@Column(name = "ID_VIRTUAL")
private long idVirtual;
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "ID")
private java.util.Date id;
@Column(name = "COL1")
private long col1;
public ReturnInsertMasterPK() {
}
public long getIdVirtual() {
return idVirtual;
}
public void setIdVirtual(long idVirtual) {
this.idVirtual = idVirtual;
}
public Date getId() {
return id;
}
public void setId(Date id) {
this.id = id;
}
public long getCol1() {
return col1;
}
public void setCol1(long col1) {
this.col1 = col1;
}
}