<?xml version="1.0"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 7.4.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_7_4_0.dtd">

<service-builder auto-import-default-references="false" auto-namespace-tables="false" change-tracking-enabled="true" dependency-injector="ds" mvcc-enabled="true" package-path="com.liferay.asset.entry.rel">
	<namespace>Asset</namespace>
	<entity local-service="true" name="AssetEntryAssetCategoryRel" remote-service="false">

		<!-- PK fields -->

		<column name="assetEntryAssetCategoryRelId" primary="true" type="long" />

		<!-- Audit fields -->

		<column name="companyId" type="long" />

		<!-- Other fields -->

		<column name="assetEntryId" type="long" />
		<column name="assetCategoryId" type="long" />
		<column name="priority" type="int" />

		<!-- Finder methods -->

		<finder name="AssetEntryId" return-type="Collection">
			<finder-column name="assetEntryId" />
		</finder>
		<finder name="AssetCategoryId" return-type="Collection">
			<finder-column name="assetCategoryId" />
		</finder>
		<finder name="A_A" return-type="AssetEntryAssetCategoryRel" unique="true">
			<finder-column name="assetEntryId" />
			<finder-column name="assetCategoryId" />
		</finder>
	</entity>
</service-builder>