| /* |
| ******************************************************************************* |
| * 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; |
| |
| /** |
| * The persistent class for the "REF_COST_CENTER database table. |
| */ |
| @Entity |
| @Table(name = "ref_cost_center", schema = "public") |
| @NamedQuery(name = "RefCostCenter.findAll", query = "SELECT r FROM RefCostCenter r") |
| public class RefCostCenter implements Serializable{ |
| |
| @Id |
| @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "REF_COST_CENTER_ID_SEQ") |
| @SequenceGenerator(name = "REF_COST_CENTER_ID_SEQ", sequenceName = "REF_COST_CENTER_ID_SEQ", allocationSize = 1) |
| @Column(name = "id", updatable = false) |
| private Integer id; |
| |
| @Column(name = "name") |
| private String name; |
| |
| @Column(name = "description") |
| private String description; |
| |
| @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 String getName() { return name; } |
| |
| public void setName(String name) { this.name = name; } |
| |
| public String getDescription() { return description; } |
| |
| public void setDescription(String description) { this.description = description; } |
| |
| 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; } |
| } |