cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
60 lines (59 loc) • 2.45 kB
TypeScript
/**
* Fee Structure Item Schema
* Individual fee items within a structure (e.g., Tuition, Lab Fee, etc.)
*/
declare class FeeStructureItem {
/** Mongo document id (string representation). */
_id?: string;
/** Fee structure id this item belongs to (`fee_structures`). */
feesi_structure_id_fees?: string;
/** Fee category/head id (`core_general_master`). */
feesi_category_id_sygms?: string;
/** Fee item code (often auto-populated from category config). */
feesi_item_code?: string;
/** Fee item name (display name). */
feesi_item_name?: string;
/** Optional fee item description/details. */
feesi_description?: string;
/** Fee type: one-time or recurring. */
feesi_fee_type?: 'ONE_TIME' | 'RECURRING';
/** Payment frequency for recurring fees. */
feesi_payment_frequency?: 'MONTHLY' | 'QUARTERLY' | 'SEMESTER' | 'ANNUAL' | 'ONE_TIME';
/** Base amount for this fee head. */
feesi_amount?: number;
/** Whether the amount can be edited when applying to a student. */
feesi_is_amount_editable?: boolean;
/** Minimum amount allowed if editable. */
feesi_min_amount?: number;
/** Maximum amount allowed if editable. */
feesi_max_amount?: number;
/** Fixed due date (if used). */
feesi_due_date?: Date;
/** Due date offset days from the start of term/year. */
feesi_due_date_offset_days?: number;
/** Collection window start offset days. */
feesi_collection_start_offset_days?: number;
/** Collection window end offset days. */
feesi_collection_end_offset_days?: number;
/** Whether this fee head is mandatory. */
feesi_is_mandatory?: boolean;
/** Whether this fee head is refundable. */
feesi_is_refundable?: boolean;
/** Whether installment payments are allowed for this fee head. */
feesi_is_installment_allowed?: boolean;
/** Number of installments if installment is allowed. */
feesi_installment_count?: number;
/** Whether tax is applicable. */
feesi_tax_applicable?: boolean;
/** Tax percentage if applicable (0-100). */
feesi_tax_percentage?: number;
/** Display order in lists/receipts. */
feesi_display_order?: number;
/** Active status flag. */
feesi_is_active?: boolean;
/** Created timestamp (if tracked). */
feesi_created_at?: Date;
/** Updated timestamp (if tracked). */
feesi_updated_at?: Date;
}
export { FeeStructureItem };