dreamjob/app/Test/Fixture/MicSysMicappFixture.php

58 lines
2.0 KiB
PHP
Executable File

<?php
/**
* MicSysMicappFixture
*
*/
class MicSysMicappFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_sys_micapp';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'take_systemwide' => array('type' => 'boolean', 'null' => false, 'default' => null),
'avatar' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'nickname' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'mannerofaddress_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
'first_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'last_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'bday' => array('type' => 'date', 'null' => true, 'default' => null),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mic_sys_micapp_fbfc09f1' => array('column' => 'user_id', 'unique' => 0),
'mic_sys_micapp_6bef5955' => array('column' => 'mannerofaddress_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'user_id' => 1,
'take_systemwide' => 1,
'avatar' => 'Lorem ipsum dolor sit amet',
'nickname' => 'Lorem ipsum dolor sit amet',
'mannerofaddress_id' => 1,
'first_name' => 'Lorem ipsum dolor sit amet',
'last_name' => 'Lorem ipsum dolor sit amet',
'bday' => '2014-01-26'
),
);
}