<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
		"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.ntsky.bbs.domain">
	<class name="Admin" table="ntsky_t_admin" lazy="false">
        <id name="id" column="id">
			<generator class="increment"/>
        </id>
		<property name="username" column="username" not-null="true"/>
		<property name="password" column="password" not-null="true"/>
		<property name="permissions" column="permissions" not-null="true"/>
		<property name="lastLoginTime" column="last_login_time"/>
		<property name="lastLoginIp" column="last_login_ip"/>
	</class>
</hibernate-mapping>
