structure
Fri/Mar/2021 10:40:30
model customers |
---|
tablename : | customers | state : | is_model | | |
---|
primary key : | customerNumberPK | value : | 0 | | |
---|
>iterator : | 0 elements | |
---|
SQL clause is empty, model is built BUT not read. |
>properties : |
---|
name | value | type | table | selected | searched |
---|
customerNumberPK | | pk | customers | | |
customerName | | text | customers | | |
contactLastName | | text | customers | | |
contactFirstName | | text | customers | | |
phone | | text | customers | | |
addressLine1 | | text | customers | | |
addressLine2 | | text | customers | | |
city | | text | customers | | |
state | | text | customers | | |
postalCode | | text | customers | | |
country | | text | customers | | |
salesRepEmployeeNumber | | fk | customers | | |
creditLimit | | number | customers | | |
salesRepEmployeeNumber_lastName | | text | employees | | |
salesRepEmployeeNumber_firstName | | text | employees | | |
salesRepEmployeeNumber_extension | | text | employees | | |
salesRepEmployeeNumber_email | | text | employees | | |
salesRepEmployeeNumber_jobTitle | | text | employees | | |
>relations : |
---|
orders | | customerNumber | customers | | |
payments | | customerNumber | customers | | |
Usage
<?php
$obj=new \xuserver\v5\model();
$obj->build("customers");
?>