<?xml version="1.0" encoding="UTF-8"?>
<domain-models xmlns="http://axelor.com/xml/ns/domain-models" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://axelor.com/xml/ns/domain-models http://axelor.com/xml/ns/domain-models/domain-models_5.2.xsd">

    <module name="base" package="com.axelor.apps.base.db" />

    <entity name="Street" lang="java">

        <string name="name" title="Name" required="true" />
        <many-to-one name="city" title="City" ref="com.axelor.apps.base.db.City" required="true" />

        <unique-constraint columns="name,city" />

    </entity>

</domain-models>
