xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 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 | --> |
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 21 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd" > |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 22 | <hibernate-mapping package="org.openecomp.mso.db.catalog.beans"> |
| 23 | <class name="ServiceToAllottedResources" table="SERVICE_TO_ALLOTTED_RESOURCES"> |
| 24 | <meta attribute="class-description"> |
| 25 | This class describes a Service to Allotted Resource Customization relationship |
| 26 | </meta> |
| 27 | |
| 28 | <composite-id> |
| 29 | <key-property name="serviceModelUuid" type="string" > |
| 30 | <column name="SERVICE_MODEL_UUID" length="200" not-null="true"/> |
| 31 | </key-property> |
| 32 | <key-property name="arModelCustomizationUuid" type="string"> |
| 33 | <column name="AR_MODEL_CUSTOMIZATION_UUID" length="200" not-null="true"/> |
| 34 | </key-property> |
| 35 | </composite-id> |
Jim Hahn | 20e60c8 | 2017-10-12 11:32:34 -0400 | [diff] [blame] | 36 | <property name="created" type="timestamp" generated="insert" update="false" insert="false" not-null="true"> |
| 37 | <column name="CREATION_TIMESTAMP" default="CURRENT_TIMESTAMP"/> |
| 38 | </property> |
xg353y | b6b7bef | 2017-04-11 13:30:42 +0200 | [diff] [blame] | 39 | </class> |
| 40 | |
| 41 | </hibernate-mapping> |