<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" 
"http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd">
<service-builder package-path="com.bhagwan.dbservice">
	<author>LiferaySavvy</author>
	<namespace>LS</namespace>
	<entity name="Student" local-service="true" remote-service="true">
		<!-- PK fields -->
		<column name="studentId" type="long" primary="true" />
		<column name="firstName" type="String" />
		<column name="lastName" type="String" />
		<column name="studentAge" type="int" />
		<column name="studentGender" type="int" />
		<column name="studentAddress" type="String" />
		<!-- Order -->
		<order by="asc">
			<order-column name="studentId" />
		</order>
		<!-- Finder methods -->
		<finder name="byGender" return-type="Collection">
			<finder-column name="studentGender"/>
		</finder>
	</entity>
</service-builder>