| /******************************************************************************** |
| * Copyright (c) 2015-2020 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.mdm.freetextindexer.entities; |
| |
| import javax.persistence.*; |
| |
| @Entity @Table(name = "system_process") public class SystemProcess { |
| |
| @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; |
| |
| @Column(name = "process_key") private String processKey; |
| |
| @Column(name = "process_id") private String processId; |
| |
| @Column(name = "last_locked") private Long time; |
| |
| public Long getId() { |
| return id; |
| } |
| |
| public void setId(Long id) { |
| this.id = id; |
| } |
| |
| public String getProcessKey() { |
| return processKey; |
| } |
| |
| public void setProcessKey(String processKey) { |
| this.processKey = processKey; |
| } |
| |
| public String getProcessId() { |
| return processId; |
| } |
| |
| public void setProcessId(String processId) { |
| this.processId = processId; |
| } |
| |
| public Long getTime() { |
| return time; |
| } |
| |
| public void setTime(Long time) { |
| this.time = time; |
| } |
| } |