CORE POS - IS4C
The CORE POS front end
Public Member Functions | Protected Attributes | List of all members
COREPOS\pos\lib\models\op\CustdataModel Class Reference
Inheritance diagram for COREPOS\pos\lib\models\op\CustdataModel:
COREPOS\pos\lib\models\BasicModel

Public Member Functions

 doc ()
 
- Public Member Functions inherited from COREPOS\pos\lib\models\BasicModel
 getModels ()
 
 setConnectionByName ($db_name)
 

Protected Attributes

 $name = 'custdata'
 
 $preferred_db = 'op'
 
 $columns
 
 $unique = array('CardNo','personNum')
 
 $normalize_lanes = true
 
- Protected Attributes inherited from COREPOS\pos\lib\models\BasicModel
 $new_model_namespace = '\\COREPOS\\pos\\lib\\models\\'
 

Additional Inherited Members

- Public Attributes inherited from COREPOS\pos\lib\models\BasicModel
const NORMALIZE_MODE_CHECK = 1
 
const NORMALIZE_MODE_APPLY = 2
 

Member Data Documentation

COREPOS\pos\lib\models\op\CustdataModel::$columns
protected
Initial value:
= array(
'CardNo' => array('type'=>'INT','index'=>True),
'personNum' => array('type'=>'TINYINT'),
'LastName' => array('type'=>'VARCHAR(30)','index'=>True),
'FirstName' => array('type'=>'VARCHAR(30)'),
'CashBack' => array('type'=>'MONEY'),
'Balance' => array('type'=>'MONEY'),
'Discount' => array('type'=>'SMALLINT'),
'MemDiscountLimit' => array('type'=>'MONEY','default'=>0),
'ChargeLimit' => array('type'=>'MONEY','default'=>0),
'ChargeOk' => array('type'=>'TINYINT','default'=>1),
'WriteChecks' => array('type'=>'TINYINT','default'=>1),
'StoreCoupons' => array('type'=>'TINYINT','default'=>1),
'Type' => array('type'=>'VARCHAR(10)','default'=>"'PC'"),
'memType' => array('type'=>'TINYINT'),
'staff' => array('type'=>'TINYINT','default'=>0),
'SSI' => array('type'=>'TINYINT','default'=>0),
'Purchases' => array('type'=>'MONEY','default'=>0),
'NumberOfChecks' => array('type'=>'SMALLINT','default'=>0),
'memCoupons' => array('type'=>'INT','default'=>1),
'blueLine' => array('type'=>'VARCHAR(50)'),
'Shown' => array('type'=>'TINYINT','default'=>1),
'LastChange' => array('type'=>'TIMESTAMP'),
'id' => array('type'=>'INT','primary_key'=>True,'increment'=>True)
)
COREPOS\pos\lib\models\op\CustdataModel::$unique = array('CardNo','personNum')
protected

Use this instead of primary key for identifying records


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