Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 1 | <?xml version="1.0"?>
|
| 2 | <!--
|
| 3 | ============LICENSE_START=======================================================
|
| 4 | ECOMP MSO
|
| 5 | ================================================================================
|
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
|
| 7 | ================================================================================
|
| 8 | Licensed under the Apache License, Version 2.0 (the "License");
|
| 9 | you may not use this file except in compliance with the License.
|
| 10 | You may obtain a copy of the License at
|
| 11 |
|
| 12 | http://www.apache.org/licenses/LICENSE-2.0
|
| 13 |
|
| 14 | Unless required by applicable law or agreed to in writing, software
|
| 15 | distributed under the License is distributed on an "AS IS" BASIS,
|
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 17 | See the License for the specific language governing permissions and
|
| 18 | limitations under the License.
|
| 19 | ============LICENSE_END=========================================================
|
| 20 | -->
|
| 21 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
|
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 22 | "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
|
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 23 | <!-- Generated Mar 29, 2017 4:25:31 PM by Hibernate Tools 3.4.0.CR1 -->
|
| 24 | <hibernate-mapping>
|
| 25 | <class name="org.openecomp.mso.db.catalog.beans.AllottedResource" table="ALLOTTED_RESOURCE">
|
| 26 | <id name="modelUuid" type="java.lang.String" length="200">
|
| 27 | <column name="MODEL_UUID" />
|
| 28 | <generator class="assigned" />
|
| 29 | </id>
|
| 30 | <property name="modelInvariantUuid" type="java.lang.String" length="200" not-null="true">
|
| 31 | <column name="MODEL_INVARIANT_UUID" />
|
| 32 | </property>
|
| 33 | <property name="modelVersion" type="java.lang.String" length="20" not-null="true">
|
| 34 | <column name="MODEL_VERSION" />
|
| 35 | </property>
|
| 36 | <property name="modelName" type="java.lang.String" length="200" not-null="true">
|
| 37 | <column name="MODEL_NAME" />
|
| 38 | </property>
|
| 39 | <property name="toscaNodeType" type="java.lang.String" length="200">
|
| 40 | <column name="TOSCA_NODE_TYPE" />
|
| 41 | </property>
|
| 42 | <property name="subcategory" type="java.lang.String" length="200">
|
| 43 | <column name="SUBCATEGORY" />
|
| 44 | </property>
|
| 45 | <property name="description" type="java.lang.String" length="1200">
|
| 46 | <column name="DESCRIPTION" />
|
| 47 | </property>
|
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 48 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true">
|
| 49 | <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/>
|
| 50 | </property>
|
Arthur Martella | 62cd6aa | 2017-09-08 13:27:46 -0400 | [diff] [blame] | 51 | </class>
|
| 52 | </hibernate-mapping>
|