54 lines
1.9 KiB
PHP
54 lines
1.9 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* MicDjAccountCmpyFixture
|
||
|
*
|
||
|
*/
|
||
|
class MicDjAccountCmpyFixture extends CakeTestFixture {
|
||
|
|
||
|
/**
|
||
|
* Table name
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $table = 'mic_dj_account_cmpy';
|
||
|
|
||
|
/**
|
||
|
* Fields
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $fields = array(
|
||
|
'djaccount_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
|
||
|
'corporateform' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'owner' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'branch' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'headcount' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 6),
|
||
|
'bank_details' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'website' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'css' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'indexes' => array(
|
||
|
'PRIMARY' => array('column' => 'djaccount_ptr_id', 'unique' => 1)
|
||
|
),
|
||
|
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
|
||
|
);
|
||
|
|
||
|
/**
|
||
|
* Records
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $records = array(
|
||
|
array(
|
||
|
'djaccount_ptr_id' => 1,
|
||
|
'corporateform' => 'Lorem ipsum dolor sit amet',
|
||
|
'owner' => 'Lorem ipsum dolor sit amet',
|
||
|
'branch' => 'Lorem ipsum dolor sit amet',
|
||
|
'headcount' => 1,
|
||
|
'bank_details' => 'Lorem ipsum dolor sit amet',
|
||
|
'website' => 'Lorem ipsum dolor sit amet',
|
||
|
'css' => 'Lorem ipsum dolor sit amet'
|
||
|
),
|
||
|
);
|
||
|
|
||
|
}
|