<?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.Account" table="jsh_account">
        <id name="Id" type="java.lang.Long">
            <column name="Id"/>
            <generator class="native"/>
        </id>
        <property generated="never" lazy="false" name="Name" type="java.lang.String">
            <column length="50" name="Name">
                <comment>名称</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="SerialNo" type="java.lang.String">
            <column length="50" name="SerialNo">
                <comment>编号</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="InitialAmount" type="java.lang.Double">
            <column name="InitialAmount" precision="22" scale="3">
                <comment>期初金额</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="CurrentAmount" type="java.lang.Double">
            <column name="CurrentAmount" precision="22" scale="3">
                <comment>当前余额</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="IsDefault" type="boolean">
            <column length="1" name="IsDefault">
                <comment>是否设为默认</comment>
            </column>
        </property>
        <property generated="never" lazy="false" name="Remark" type="java.lang.String">
            <column length="100" name="Remark">
                <comment>备注</comment>
            </column>
        </property>
    </class>
</hibernate-mapping>
