cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
40 lines (39 loc) • 1.54 kB
TypeScript
/**
* Fee Discount Schema
* Individual discount records applied to students
*/
declare class FeeDiscount {
/** Mongo document id (string representation). */
_id?: string;
/** Student reference id (auth user id). */
feedisc_student_id?: string;
/** Fee assignment reference id (`fee_assignments`). */
feedisc_assignment_id_feeas?: string;
/** Discount rule reference id (`fee_discount_rule`) if rule-based. */
feedisc_discount_rule_id_feedr?: string;
/** Discount type: percentage or fixed amount. */
feedisc_discount_type?: 'PERCENTAGE' | 'FIXED_AMOUNT';
/** Discount value (percentage 0-100, or fixed amount). */
feedisc_discount_value?: number;
/** Calculated discount amount. */
feedisc_discount_amount?: number;
/** Reason for discount (manual notes). */
feedisc_discount_reason?: string;
/** Academic year reference id (`aca_academic_year`). */
feedisc_academic_year_id_acayr?: string;
/** Entity/organization reference id (`core_system_entity`). */
feedisc_entity_id_syen?: string;
/** Approved by user id (`auth_user_mst`). */
feedisc_approved_by_user?: string;
/** Approval date/time. */
feedisc_approval_date?: Date;
/** Whether this discount record is active. */
feedisc_is_active?: boolean;
/** Created by user id (`auth_user_mst`). */
feedisc_created_by_user?: string;
/** Created timestamp. */
feedisc_created_at?: Date;
/** Updated timestamp. */
feedisc_updated_at?: Date;
}
export { FeeDiscount };