<?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.layout.seo">
	<namespace>LayoutSEO</namespace>
	<entity local-service="true" name="LayoutSEOEntry" remote-service="true" uuid="true">

		<!-- PK fields -->

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

		<!-- Group instance -->

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

		<!-- Audit fields -->

		<column name="companyId" type="long" />
		<column name="userId" type="long" />
		<column name="userName" type="String" />
		<column name="createDate" type="Date" />
		<column name="modifiedDate" type="Date" />

		<!-- Other fields -->

		<column name="privateLayout" type="boolean" />
		<column name="layoutId" type="long" />
		<column change-tracking-resolution-type="merge" localized="true" name="canonicalURL" type="String" />
		<column change-tracking-resolution-type="merge" name="canonicalURLEnabled" type="boolean" />
		<column name="DDMStorageId" type="long" />
		<column change-tracking-resolution-type="merge" localized="true" name="openGraphDescription" type="String" />
		<column change-tracking-resolution-type="merge" name="openGraphDescriptionEnabled" type="boolean" />
		<column change-tracking-resolution-type="merge" localized="true" name="openGraphImageAlt" type="String" />
		<column change-tracking-resolution-type="merge" name="openGraphImageFileEntryId" type="long" />
		<column change-tracking-resolution-type="merge" localized="true" name="openGraphTitle" type="String" />
		<column change-tracking-resolution-type="merge" name="openGraphTitleEnabled" type="boolean" />
		<column change-tracking-resolution-type="merge" name="lastPublishDate" type="Date" />

		<!-- Finder methods -->

		<finder name="G_P_L" return-type="LayoutSEOEntry" unique="true">
			<finder-column name="groupId" />
			<finder-column name="privateLayout" />
			<finder-column name="layoutId" />
		</finder>
	</entity>
	<entity local-service="true" name="LayoutSEOSite" remote-service="true" uuid="true">

		<!-- PK fields -->

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

		<!-- Group instance -->

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

		<!-- Audit fields -->

		<column name="companyId" type="long" />
		<column name="userId" type="long" />
		<column name="userName" type="String" />
		<column name="createDate" type="Date" />
		<column name="modifiedDate" type="Date" />

		<!-- Other fields -->

		<column name="openGraphEnabled" type="boolean" />
		<column localized="true" name="openGraphImageAlt" type="String" />
		<column name="openGraphImageFileEntryId" type="long" />

		<!-- Finder methods -->

		<finder name="GroupId" return-type="LayoutSEOSiteEntry" unique="true">
			<finder-column name="groupId" />
		</finder>
	</entity>
</service-builder>