65 lines
2.3 KiB
XML
65 lines
2.3 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.GreenPermission" table="green_permission">
|
||
<comment>green_permission</comment>
|
||
<!-- single primaryKey -->
|
||
<id name="id" type="integer">
|
||
<column name="ID">
|
||
<comment>id</comment>
|
||
</column>
|
||
<generator class="assigned"/>
|
||
</id>
|
||
|
||
<property name="code" type="integer" not-null="false">
|
||
<column name="CODE">
|
||
<comment>权限编码</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="name" type="string" length="255" not-null="false">
|
||
<column name="NAME">
|
||
<comment>权限名称</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="parentCode" type="integer" not-null="false">
|
||
<column name="PARENT_CODE">
|
||
<comment>父级权限编码</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="pageUrl" type="string" length="255" not-null="false">
|
||
<column name="PAGE_URL">
|
||
<comment>页面跳转地址</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="iconUrl" type="string" length="255" not-null="false">
|
||
<column name="ICON_URL">
|
||
<comment>icon图标地址</comment>
|
||
</column>
|
||
</property>
|
||
|
||
<property name="type" type="integer" not-null="false">
|
||
<column name="TYPE">
|
||
<comment>权限类型 : 1 .APP 2 .WEB</comment>
|
||
</column>
|
||
</property>
|
||
<property name="isOpen" type="integer">
|
||
<column name="IS_OPEN">
|
||
<comment>是否开启 : 0 :开启 1 关闭</comment>
|
||
</column>
|
||
</property>
|
||
<property name="tipNum" type="integer">
|
||
<column name="TIP_NUM">
|
||
<comment>是否开启 : 0 :开启 1 关闭</comment>
|
||
</column>
|
||
</property>
|
||
<property name="tipNumQuery" type="string" length="255" not-null="false">
|
||
<column name="TIP_NUM_QUERY">
|
||
<comment>是否开启 : 0 :开启 1 关闭</comment>
|
||
</column>
|
||
</property>
|
||
</class>
|
||
</hibernate-mapping> |