| /* |
| ******************************************************************************* |
| * Copyright (c) 2018 Contributors to the Eclipse Foundation |
| * |
| * See the NOTICE file(s) distributed with this work for additional |
| * information regarding copyright ownership. |
| * |
| * 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. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| ******************************************************************************* |
| */ |
| |
| package org.eclipse.openk.db.model; |
| |
| import java.io.Serializable; |
| import java.util.Date; |
| import javax.persistence.Column; |
| import javax.persistence.Entity; |
| import javax.persistence.GeneratedValue; |
| import javax.persistence.GenerationType; |
| import javax.persistence.Id; |
| import javax.persistence.JoinColumn; |
| import javax.persistence.ManyToOne; |
| import javax.persistence.NamedQuery; |
| import javax.persistence.SequenceGenerator; |
| import javax.persistence.Table; |
| |
| @Entity |
| @Table(name = "tbl_measure_documents", schema = "public") |
| @NamedQuery(name = "TblMeasureDocuments.findAll", query = "SELECT r FROM TblMeasureDocuments r") |
| public class TblMeasureDocuments implements Serializable { |
| |
| @Id |
| @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "TBL_MEASURE_DOCUMENTS_ID_SEQ") |
| @SequenceGenerator(name = "TBL_MEASURE_DOCUMENTS_ID_SEQ", sequenceName = "TBL_MEASURE_DOCUMENTS_ID_SEQ", allocationSize = 1) |
| @Column(name = "id", updatable = false) |
| private Integer id; |
| |
| @Column(name = "fk_tbl_measure") |
| private Integer fkTblMeasure; |
| |
| @ManyToOne |
| @JoinColumn(name="fk_tbl_documents") |
| private TblDocuments tblDocuments; |
| |
| @Column(name = "create_user") |
| private String createUser; |
| |
| @Column(name = "create_date") |
| private Date createDate; |
| |
| @Column(name = "mod_user") |
| private String modUser; |
| |
| @Column(name = "mod_date") |
| private Date modDate; |
| |
| public Integer getId() { |
| return id; |
| } |
| |
| public void setId(Integer id) { |
| this.id = id; |
| } |
| |
| public Integer getFkTblMeasure() { |
| return fkTblMeasure; |
| } |
| |
| public void setFkTblMeasure(Integer fkTblMeasure) { |
| this.fkTblMeasure = fkTblMeasure; |
| } |
| |
| public String getCreateUser() { |
| return createUser; |
| } |
| |
| public void setCreateUser(String createUser) { |
| this.createUser = createUser; |
| } |
| |
| public Date getCreateDate() { |
| return createDate; |
| } |
| |
| public void setCreateDate(Date createDate) { |
| this.createDate = createDate; |
| } |
| |
| public String getModUser() { |
| return modUser; |
| } |
| |
| public void setModUser(String modUser) { |
| this.modUser = modUser; |
| } |
| |
| public Date getModDate() { |
| return modDate; |
| } |
| |
| public void setModDate(Date modDate) { |
| this.modDate = modDate; |
| } |
| |
| public TblDocuments getTblDocuments() { |
| return tblDocuments; |
| } |
| |
| public void setTblDocuments(TblDocuments tblDocuments) { |
| this.tblDocuments = tblDocuments; |
| } |
| } |