2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * SPDX-License-Identifier: Apache-2.0
20 * ============LICENSE_END=========================================================
23 package org.onap.policy.pdp.xacml.application.common.operationshistory;
25 import java.io.Serializable;
26 import java.util.Date;
28 import javax.persistence.Column;
29 import javax.persistence.Entity;
30 import javax.persistence.GeneratedValue;
31 import javax.persistence.Id;
32 import javax.persistence.Table;
37 @Table(name = "operationshistory")
39 public class Dbao implements Serializable {
41 private static final long serialVersionUID = -551420180714993577L;
48 @Column(name = "closedLoopName", length = 255)
49 private String closedLoopName;
51 @Column(name = "requestId", length = 50)
52 private String requestId;
54 @Column(name = "subrequestId", length = 50)
55 private String subrequestId;
57 @Column(name = "actor", length = 50)
60 @Column(name = "operation", length = 50)
61 private String operation;
63 @Column(name = "target", length = 50)
64 private String target;
66 @Column(name = "starttime")
67 private Date starttime;
69 @Column(name = "outcome", length = 50)
70 private String outcome;
72 @Column(name = "message", length = 255)
73 private String message;
75 @Column(name = "endtime")