<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
 <class name="com.jsh.model.po.MaterialProperty" table="jsh_materialproperty">
  <id name="id" type="java.lang.Long">
   <column name="id"/>
   <generator class="native"/>
  </id>
  <property generated="never" lazy="false" name="nativeName" type="java.lang.String">
   <column length="50" name="nativeName">
    <comment>原始名称</comment>
   </column>
  </property>
  <property generated="never" lazy="false" name="enabled" type="boolean">
   <column length="1" name="enabled">
    <comment>是否启用</comment>
   </column>
  </property>
  <property generated="never" lazy="false" name="sort" type="java.lang.String">
   <column length="10" name="sort">
    <comment>排序</comment>
   </column>
  </property>
  <property generated="never" lazy="false" name="anotherName" type="java.lang.String">
   <column length="50" name="anotherName">
    <comment>别名</comment>
   </column>
  </property>
 </class>
</hibernate-mapping>
