62 lines
2.1 KiB
XML
62 lines
2.1 KiB
XML
<?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 auto-import="false">
|
|
<class name="com.nationalelectric.greenH5.po.GreenCalendar" table="green_calendar">
|
|
<comment>green_calendar</comment>
|
|
<!-- single primaryKey -->
|
|
<id name="uuid" type="string" length="128">
|
|
<column name="UUID">
|
|
<comment>UUID</comment>
|
|
</column>
|
|
<generator class="uuid.hex"/>
|
|
</id>
|
|
<property name="dateName" type="java.util.Date" not-null="false">
|
|
<column name="DATE_NAME">
|
|
<comment>DATE_NAME</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="weekName" type="string" length="255" not-null="false">
|
|
<column name="WEEK_NAME">
|
|
<comment>WEEK_NAME</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="isholiday" type="string" length="255" not-null="false">
|
|
<column name="ISHOLIDAY">
|
|
<comment>1休息 2工作</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="createBy" type="string" length="64" not-null="false">
|
|
<column name="CREATE_BY">
|
|
<comment>CREATE_BY</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="createTime" type="date" not-null="false">
|
|
<column name="CREATE_TIME">
|
|
<comment>CREATE_TIME</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="modifyBy" type="string" length="64" not-null="false">
|
|
<column name="MODIFY_BY">
|
|
<comment>MODIFY_BY</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="modifyTime" type="java.util.Date" not-null="false">
|
|
<column name="MODIFY_TIME">
|
|
<comment>MODIFY_TIME</comment>
|
|
</column>
|
|
</property>
|
|
|
|
<property name="isDelete" type="string" length="2" not-null="false">
|
|
<column name="IS_DELETE" sql-type="VARCHAR2(2) default 'N'">
|
|
<comment>0</comment>
|
|
</column>
|
|
</property>
|
|
|
|
</class>
|
|
</hibernate-mapping> |