X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ves-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Fcommscope%2Ftr069adapter%2Fvesagent%2Fentity%2FDeviceDataEntity.java;h=07b50a78ed828d1b5200972effbd520c69da92a0;hb=17d7d2966615671ef113dd32c7ba5ebff47f5e6f;hp=ca97e93ccf90462b61144a30cd198c1ff4d9eed4;hpb=641a6c47b4ee74412e9386b3c95693adda3cafc9;p=oam%2Ftr069-adapter.git diff --git a/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/entity/DeviceDataEntity.java b/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/entity/DeviceDataEntity.java index ca97e93..07b50a7 100644 --- a/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/entity/DeviceDataEntity.java +++ b/ves-agent/src/main/java/org/commscope/tr069adapter/vesagent/entity/DeviceDataEntity.java @@ -1,3 +1,21 @@ +/* + * ============LICENSE_START======================================================================== + * ONAP : tr-069-adapter + * ================================================================================================= + * Copyright (C) 2020 CommScope Inc Intellectual Property. + * ================================================================================================= + * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License, + * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You + * may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific language governing permissions and + * limitations under the License. + * ===============LICENSE_END======================================================================= + */ + package org.commscope.tr069adapter.vesagent.entity; import com.google.gson.Gson; @@ -14,13 +32,6 @@ import javax.persistence.Table; import javax.persistence.Transient; import javax.persistence.UniqueConstraint; -/** - * - * @version 1.0 - * @since May 21, 2020 - * @author Prashant Kumar - */ - @Entity @Table(name = "VES_DEVICE_DATA", uniqueConstraints = @UniqueConstraint(columnNames = {"DEVICE_ID", "ATTR_GROUP"})) @@ -114,6 +125,17 @@ public class DeviceDataEntity { public void setLastUpdateTime(Date lastUpdateTime) { this.lastUpdateTime = lastUpdateTime; + } + + @Transient + private Long startEpochMicrosec; + + public Long getStartEpochMicrosec() { + return startEpochMicrosec; + } + + public void setStartEpochMicrosec(Long startEpochMicrosec) { + this.startEpochMicrosec = startEpochMicrosec; } @Transient