cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
34 lines (33 loc) • 1.43 kB
TypeScript
/**
* Fee Transaction Schema
* Audit trail for all fee-related transactions
*/
declare class FeeTransaction {
/** Mongo document id (string representation). */
_id?: string;
/** Transaction type recorded in the audit trail. */
feetrx_transaction_type?: 'PAYMENT' | 'REFUND' | 'DISCOUNT' | 'LATE_FEE' | 'WAIVER' | 'ADJUSTMENT';
/** Student reference id (auth user id). */
feetrx_student_id?: string;
/** Type of the referenced record. */
feetrx_reference_type?: 'PAYMENT' | 'REFUND' | 'DISCOUNT' | 'LATE_FEE';
/** Reference id of the related record (payment/refund/etc.). */
feetrx_reference_id?: string;
/** Transaction amount for this event. */
feetrx_amount?: number;
/** Student/account balance before applying this transaction (if tracked). */
feetrx_balance_before?: number;
/** Student/account balance after applying this transaction (if tracked). */
feetrx_balance_after?: number;
/** Description/narration for the transaction. */
feetrx_description?: string;
/** Academic year reference id (`aca_academic_year`). */
feetrx_academic_year_id_acayr?: string;
/** Entity/organization reference id (`core_system_entity`). */
feetrx_entity_id_syen?: string;
/** Created by user id (`auth_user_mst`). */
feetrx_created_by_user?: string;
/** Created timestamp. */
feetrx_created_at?: Date;
}
export { FeeTransaction };