This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/asset/asset_construct.xml
2008-11-26 14:50:40 -08:00

64 lines
1.8 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<module>asset</module>
<table>asset</table>
<dependancy></dependancy>
<cache>0</cache>
<order_by>asset</order_by>
<limit>35</limit>
<field>
<id>
<type>I8</type>
<unique>1</unique>
</id>
<site_id>
<type>I4</type>
</site_id>
<date_orig>
<type>I8</type>
<convert>date-now</convert>
</date_orig>
<date_last>
<type>I8</type>
<convert>date-now</convert>
</date_last>
<status>
<type>L</type>
</status>
<service_id>
<type>I8</type>
</service_id>
<pool_id>
<type>I4</type>
<asso_table>asset_pool</asso_table>
<asso_field>name</asso_field>
<validate>any</validate>
</pool_id>
<asset>
<type>C(128)</type>
<min_len>1</min_len>
<max_len>128</max_len>
</asset>
<misc>
<type>C(255)</type>
</misc>
</field>
<method>
<add>id,site_id,date_orig,date_last,status,service_id,pool_id,asset,misc</add>
<update>id,site_id,date_last,status,service_id,pool_id,asset,misc</update>
<delete>id,site_id,date_orig,date_last,status,service_id,pool_id,asset,misc</delete>
<view>id,site_id,date_orig,date_last,status,service_id,pool_id,asset,misc</view>
<search>id,site_id,date_orig,date_last,status,service_id,pool_id,asset,misc</search>
</method>
<index>
<assets>id,site_id</assets>
<asso>pool_id</asso>
<service>service_id</service>
<asset>asset</asset>
</index>
<trigger>0</trigger>
</construct>