Epic-231:versioning, and backup the configuration
[sdnc/oam.git] / configbackuprestore / vnfconfigbackupservice / src / main / java / com / onap / sdnc / vnfbackupservice / model / VnfConfigSchedulerTimeStamp.java
1 /*
2 * ============LICENSE_START=======================================================
3 * ONAP : SDNC-FEATURES
4 * ================================================================================
5 * Copyright 2018 TechMahindra
6 *=================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20 package com.onap.sdnc.vnfbackupservice.model;
21
22 import javax.persistence.Column;
23 import javax.persistence.Entity;
24 import javax.persistence.GeneratedValue;
25 import javax.persistence.Id;
26 import javax.persistence.Table;
27
28 @Entity
29 @Table(name = "vnfschedulertime", schema = "testreports")
30 public class VnfConfigSchedulerTimeStamp {
31
32         @Id
33         @GeneratedValue
34         private int id;
35         
36         @Column(name = "backuptime")
37         private String backuptime;
38
39         public String getBackuptime() {
40                 return backuptime;
41         }
42
43         public void setBackuptime(String backuptime) {
44                 this.backuptime = backuptime;
45         }
46
47         public int getId() {
48                 return id;
49         }
50
51         public void setId(int id) {
52                 this.id = id;
53         }
54
55 }