<?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_weekday_rules">
    <bm:fields>
        <bm:field name="calendar_id" databaseType="BIGINT" datatype="java.lang.Long"/>
        <bm:field name="weekday" databaseType="VARCHAR" datatype="java.lang.String" lookupCode="WEEKDAY" lookupField="weekday_display"/>
        <bm:field name="weekday_display" databaseType="VARCHAR" datatype="java.lang.String" forInsert="false" forUpdate="false" prompt="FND_WEEKDAY_RULES.WEEKDAY"/>
        <bm:field name="weekday_number" databaseType="BIGINT" datatype="java.lang.Long"/>
        <bm:field name="business_day_flag" databaseType="VARCHAR" datatype="java.lang.String" prompt="FND_WEEKDAY_RULES.BUSINESS_DAY_FLAG"/>
        <bm:field name="rate_of_usage" databaseType="NUMBER" datatype="java.lang.Double" prompt="FND_WEEKDAY_RULES.RATE_OF_USAGE"/>
    </bm:fields>
    <bm:primary-key>
        <bm:pk-field name="calendar_id"/>
        <bm:pk-field name="weekday"/>
    </bm:primary-key>
    <bm:query-fields>
        <bm:query-field field="calendar_id" queryExpression="calendar_id=${/parameter/@calendar_id}"/>
    </bm:query-fields>
    <bm:order-by>
        <bm:order-field name="weekday_number"/>
    </bm:order-by>
    <bm:features>
        <f:standard-who/>
    </bm:features>
    <bm:ref-fields/>
</bm:model>
