Branch
Cafe Branch Location |
| ColumnName |
DataType |
PrimaryKey |
NotNull |
Flags |
Default Value |
Comment |
AutoInc |
| branchId |
INTEGER(10) |
PK |
NN |
UNSIGNED |
|
|
AI |
| postalCodeId |
INTEGER(10) |
|
NN |
UNSIGNED |
|
|
|
| branchName |
VARCHAR(45) |
|
NN |
|
|
|
|
| address1 |
VARCHAR(45) |
|
NN |
|
|
|
|
| address2 |
VARCHAR(45) |
|
|
|
|
|
|
| added |
DATETIME |
|
NN |
|
0000-00-00 00:00:00 |
|
|
| removed |
DATETIME |
|
|
|
0000-00-00 00:00:00 |
If a branch is sold, new user/transaction cannot be added referencing it |
|
|
| IndexName |
IndexType |
Columns |
| PRIMARY |
PRIMARY |
branchId
|
|
SystemParameters
System parameters applied to each of the branch locations |
| ColumnName |
DataType |
PrimaryKey |
NotNull |
Flags |
Default Value |
Comment |
AutoInc |
| systemParametersId |
INTEGER(10) |
PK |
NN |
UNSIGNED |
|
|
AI |
| branchId |
INTEGER(10) |
|
NN |
UNSIGNED |
|
|
|
| maxConnectionTime |
INTEGER(11) |
|
NN |
|
0 |
The maximum amount of time, in minutes, that a customer can stay connected simutaniously (0 for unlimited) |
|
| maxBandwidthUse |
INTEGER(11) |
|
NN |
|
0 |
The maximum amount of data, in kilobytes, that a customer can transfer before being disconnected (0 for unlimited) |
|
| suspendAccountTime |
INTEGER(11) |
|
NN |
|
0 |
The maximum number of days between logins before a customer is moved to a suspended state (0 for unlimited) |
|
| maxIdleTime |
INTEGER(11) |
|
NN |
|
0 |
The maximum amount of time, in minutes, that a customer can be idle on the network before being disconnected (0 for unlimited) |
|
|
| IndexName |
IndexType |
Columns |
| PRIMARY |
PRIMARY |
systemParametersId
|
|
|