<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC 
	"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
	"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.shuangyulin.domain">

	<class name="Admin" table="admin">
		<id name="username" type="string" length="20">
			<generator class="assigned"/>
		</id>
		
		 <property
			name="password"
			column="password" 
			type="string" 
			length="20"
		/>
	</class>
	
</hibernate-mapping>
