<?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="talent" package="com.axelor.apps.talent.db"/>

	<entity name="TrainingSession" lang="java" cacheable="true">
		<integer name="statusSelect" title="Status" selection="training.session.status.select" default="1" />
		<many-to-one name="training" ref="com.axelor.apps.talent.db.Training" title="Training" required="true" />
		<datetime name="fromDate" title="From date" required="true" />
		<datetime name="toDate" title="To date" required="true"/>
		<integer name="nbrRegistered" title="Number of registredred to the session" />
		<decimal name="duration" title="Number of hours" />
		<decimal name="rating" title="Rating" />
		<string name="fullName" title="Full name" namecolumn="true" />
		<string name="location" title="Location" />
	</entity>

</domain-models>
