CORE POS - Fannie
The CORE POS back end
Protected Attributes | List of all members
GumLoanAccountsModel Class Reference
Inheritance diagram for GumLoanAccountsModel:
BasicModel

Protected Attributes

 $name = "GumLoanAccounts"
 
 $columns
 
 $unique = array('accountNumber')
 
- Protected Attributes inherited from BasicModel
 $normalize_lanes = false
 
 $currently_normalizing_lane = false
 

Additional Inherited Members

- Public Member Functions inherited from BasicModel
 __construct ($con)
 
 pushToLanes ()
 
 deleteFromLanes ()
 
 getModels ()
 
 setConnectionByName ($db_name)
 
- Public Attributes inherited from BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 
- Protected Member Functions inherited from BasicModel
 normalizeLanes ($db_name, $mode=BasicModel::NORMALIZE_MODE_CHECK)
 
 loadHooks ()
 
 afterNormalize ($db_name, $mode)
 

Detailed Description

This table stores member loans/bonds. The fields are pretty straightforward. Note that a given member may have multiple loan accounts so card_no is not necessarily unique; gumLoanAccountID and accountNumber are both unique.

When loans are paid back, an entry for that check is created in GumPayoffs. That table can be joined to this table via GumLoanPayoffMap.

Member Data Documentation

GumLoanAccountsModel::$columns
protected
Initial value:
= array(
'gumLoanAccountID' => array('type'=>'INT', 'increment'=>true, 'primary_key'=>true),
'card_no' => array('type'=>'INT', 'index'=>true),
'accountNumber' => array('type'=>'VARCHAR(25)', 'index'=>true),
'loanDate' => array('type'=>'datetime'),
'principal' => array('type'=>'MONEY'),
'termInMonths' => array('type'=>'INT'),
'interestRate' => array('type'=>'DOUBLE'),
)

The documentation for this class was generated from the following file: