| /* |
| ******************************************************************************* |
| * 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.NamedQuery; |
| import javax.persistence.SequenceGenerator; |
| import javax.persistence.Table; |
| |
| @Entity |
| @Table(name = "tbl_id_counter", schema = "public") |
| @NamedQuery(name = "TblIdCounter.findAll", query = "SELECT r FROM TblIdCounter r") |
| public class TblIdCounter implements Serializable { |
| |
| @Id |
| @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "TBL_ID_COUNTER_ID_SEQ") |
| @SequenceGenerator(name = "TBL_ID_COUNTER_ID_SEQ", sequenceName = "TBL_ID_COUNTER_ID_SEQ", allocationSize = 1) |
| @Column(name = "id", updatable = false) |
| private Integer id; |
| |
| @Column(name = "counter") |
| private Integer counter; |
| |
| @Column(name = "counter_type") |
| private String counterType; |
| |
| @Column(name = "info") |
| private String modifiedDate; |
| |
| @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 getCounter() { |
| return counter; |
| } |
| |
| public void setCounter(Integer counter) { |
| this.counter = counter; |
| } |
| |
| public String getCounterType() { |
| return counterType; |
| } |
| |
| public void setCounterType(String counterType) { |
| this.counterType = counterType; |
| } |
| |
| public String getModifiedDate() { |
| return modifiedDate; |
| } |
| |
| public void setModifiedDate(String modifiedDate) { |
| this.modifiedDate = modifiedDate; |
| } |
| |
| 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; |
| } |
| } |