<?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="Role" table="ntsky_t_role" lazy="true">
        <id name="id" column="id">
			<generator class="increment"/>
        </id>
		<property name="name" column="name" not-null="true"/>
		<property name="type" column="type" not-null="true"/>
		<property name="description" column="description" />
		<property name="icon" column="icon" not-null="true"/>
		<property name="minTopic" column="min_topic" not-null="true"/>
		<property name="permissions" column="permissions" not-null="true"/>
		
		<!-- <property name="canViewForum" column="can_view_forum" not-null="true"/>
		<property name="canViewTopic" column="can_view_topic" not-null="true"/>
		<property name="canViewBestTopic" column="can_view_best_topic" not-null="true"/>
		
		<property name="canPostNew" column="can_post_new" not-null="true"/>
		<property name="canReplyOwn" column="can_reply_own" not-null="true"/>
		<property name="canReplyOther" column="can_reply_other" not-null="true"/>
		<property name="canEditPost" column="can_edit_post" not-null="true"/>
		<property name="canDeleteOwn" column="can_delete_own" not-null="true"/>
		<property name="canMoveOwn" column="can_move_own" not-null="true"/>
		
		<property name="canPostPoll" column="can_post_poll" not-null="true"/>
		<property name="canVote" column="can_vote" not-null="true"/>
		
		<property name="canGetAttachment" column="can_get_attachment" not-null="true"/>
		<property name="canUploadAttachment" column="can_upload_attachment" not-null="true"/>
		<property name="uploadAttachmentSize" column="upload_attachment_size" not-null="true"/>
		
		<property name="canViewUser" column="can_view_user" not-null="true"/>
		<property name="canUseSignature" column="can_use_signature" not-null="true"/>
		<property name="canCustomFace" column="can_custom_face" not-null="true"/>
		
		<property name="canDelete" column="can_delete" not-null="true"/>
		<property name="canMove" column="can_move" not-null="true"/>
		<property name="canTopTopic" column="can_top_topic" not-null="true"/>
		<property name="canEditOther" column="can_edit_other" not-null="true"/>
		<property name="canChangeStatus" column="can_change_status" not-null="true"/>
		<property name="canAnnounce" column="can_announce" not-null="true"/>
		<property name="canBatchDelete" column="can_batch_delete" not-null="true"/>
		
		<property name="canSendMessage" column="can_send_message" not-null="true"/>
		<property name="mostReceiverUsers" column="most_receiver_users" not-null="true"/>
		<property name="messageMaxSize" column="message_max_size" not-null="true"/>
		<property name="inboxSize" column="inbox_size" not-null="true"/> -->
		
	</class>
</hibernate-mapping>
