| <?xml version="1.0"?> |
| <!-- |
| ============LICENSE_START======================================================= |
| ECOMP MSO |
| ================================================================================ |
| Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| ================================================================================ |
| Licensed 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 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License 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========================================================= |
| --> |
| |
| <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
| "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
| <!-- Generated Apr 28, 2016 2:44:06 PM by Hibernate Tools 3.4.0.CR1 --> |
| <hibernate-mapping package="org.openecomp.mso.db.catalog.beans"> |
| <class name="VfModule" table="VF_MODULE"> |
| |
| <id name="modelUUID" type="string" column="MODEL_UUID" length="200" /> |
| |
| <property name="vnfResourceModelUUId" type="string" column="VNF_RESOURCE_MODEL_UUID" length="200" /> |
| <property name="modelInvariantUUID" type="string" column="MODEL_INVARIANT_UUID" length="200"/> |
| <property name="version" type="string" column="MODEL_VERSION" length="20" not-null="true"/> |
| <property name="modelName" type="string" column="MODEL_NAME" length="200" not-null="true" /> |
| <property name="description" type="string" column="DESCRIPTION" length="1200"/> |
| <property name="isBase" type="int" column="IS_BASE" not-null="true"/> |
| <property name="heatTemplateArtifactUUId" type="string" column="HEAT_TEMPLATE_ARTIFACT_UUID" length="200" not-null="true" /> |
| <property name="volHeatTemplateArtifactUUId" type="string" column="VOL_HEAT_TEMPLATE_ARTIFACT_UUID" length="200" /> |
| |
| <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true"> |
| <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/> |
| </property> |
| |
| </class> |
| </hibernate-mapping> |