<?xml version="1.0" encoding="UTF-8"?> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="t1" baseTable="GLD_PERIOD_STATUS_V" defaultOrderBy="internal_period_num desc"> <bm:fields> <bm:field name="company_id" databaseType="NUMBER" datatype="java.lang.Double" physicalName="COMPANY_ID"/> <bm:field name="period_set_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PERIOD_SET_CODE"/> <bm:field name="period_name" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PERIOD_NAME"/> <bm:field name="internal_period_num" databaseType="NUMBER" datatype="java.lang.Double" physicalName="INTERNAL_PERIOD_NUM"/> <bm:field name="period_year" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PERIOD_YEAR"/> <bm:field name="period_num" databaseType="NUMBER" datatype="java.lang.Double" physicalName="PERIOD_NUM"/> <bm:field name="start_date" databaseType="DATE" datatype="java.util.Date" physicalName="START_DATE"/> <bm:field name="end_date" databaseType="DATE" datatype="java.util.Date" physicalName="END_DATE"/> <bm:field name="quarter_num" databaseType="NUMBER" datatype="java.lang.Double" physicalName="QUARTER_NUM"/> <bm:field name="adjustment_flag" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="ADJUSTMENT_FLAG"/> <bm:field name="period_status_code" databaseType="VARCHAR2" datatype="java.lang.String" physicalName="PERIOD_STATUS_CODE"/> <bm:field name="monthly_closed_flag" databaseType="VARCHAR2" datatype="java.lang.String"/> </bm:fields> <bm:features> <f:standard-who/> </bm:features> </bm:model>