<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:f="leaf.database.features" alias="fc" baseTable="fnd_calendar_details">
    <bm:fields>
        <bm:field databaseType="BIGINT" datatype="java.lang.Long" name="calendar_detail_id"/>
        <bm:field databaseType="BIGINT" datatype="java.lang.Long" name="calendar_id"/>
        <bm:field databaseType="VARCHAR" datatype="java.lang.String" lookupCode="WEEKDAY" lookupField="weekday_display" name="weekday"/>
        <bm:field databaseType="VARCHAR" datatype="java.lang.String" forInsert="false" forUpdate="false" name="weekday_display" prompt="FND_CALENDAR_DETAILS.WEEKDAY"/>
        <bm:field databaseType="VARCHAR" datatype="java.lang.String" name="business_day_flag" prompt="FND_CALENDAR_DETAILS.BUSINESS_DAY_FLAG"/>
        <bm:field databaseType="NUMBER" datatype="java.lang.Double" name="rate_of_usage" prompt="FND_CALENDAR_DETAILS.RATE_OF_USAGE"/>
        <bm:field databaseType="BIGINT" datatype="java.lang.Long" name="year" prompt="FND_CALENDAR_DETAILS.YEAR"/>
        <bm:field databaseType="BIGINT" datatype="java.lang.Long" name="month" prompt="FND_CALENDAR_DETAILS.MONTH"/>
        <bm:field databaseType="BIGINT" datatype="java.lang.Long" name="day" prompt="FND_CALENDAR_DETAILS.DAY"/>
    </bm:fields>
    <bm:primary-key>
        <bm:pk-field name="calendar_detail_id"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field field="calendar_id" queryExpression="calendar_id=${/parameter/@calendar_id}"/>
        <bm:query-field field="year" queryOperator="="/>
        <bm:query-field field="month" queryOperator="="/>
    </bm:query-fields>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:ref-fields/>
</bm:model>
