<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC
        "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<!-- Hibernate mapping file for BuckoVidLib - LibrarySection
   - $Id: LibrarySection.hbm.xml,v 1.2 2015/04/29 14:31:24 dick Exp $
   -
   - BuckoVidLib - The BuckoSoft Video Library
   - Copyright(c) 2015 - Dick Balaska
   -
   - $Log: LibrarySection.hbm.xml,v $
   - Revision 1.2  2015/04/29 14:31:24  dick
   - Hibernate wants to deal with the type field as a character, "M" or "T", not an enum like Type.Movie or Type.TVShow.
   - So, internally, support the character and map it going in and out for the code.
   -
   - Revision 1.1  2015/04/28 16:15:53  dick
   - Implement LibrarySection handling.
   -
   -->

<hibernate-mapping>
	<class name="com.buckosoft.BuckoVidLib.domain.LibrarySection" table="librarysections">
		<id name="key" column="id">
		</id>
		<property name="name" />
		<property name="ctype" column="ctype"/>
	 	<property name="restricted" />
	</class>
</hibernate-mapping>
