42 lines
816 B
PHP
42 lines
816 B
PHP
|
<?php
|
||
|
/**
|
||
|
* MicSysMannerofaddrFixture
|
||
|
*
|
||
|
*/
|
||
|
class MicSysMannerofaddrFixture extends CakeTestFixture {
|
||
|
|
||
|
/**
|
||
|
* Table name
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
public $table = 'mic_sys_mannerofaddr';
|
||
|
|
||
|
/**
|
||
|
* Fields
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $fields = array(
|
||
|
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
|
||
|
'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
|
||
|
'indexes' => array(
|
||
|
'PRIMARY' => array('column' => 'id', 'unique' => 1)
|
||
|
),
|
||
|
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
|
||
|
);
|
||
|
|
||
|
/**
|
||
|
* Records
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
public $records = array(
|
||
|
array(
|
||
|
'id' => 1,
|
||
|
'name' => 'Lorem ipsum dolor sit amet'
|
||
|
),
|
||
|
);
|
||
|
|
||
|
}
|