<?php

namespace Tools\Test\Fixture;

use Cake\TestSuite\Fixture\TestFixture;

/**
 * ToolsUser Fixture
 */
class ToolsUsersFixture extends TestFixture {

	/**
	 * Fields
	 *
	 * @var array
	 */
	public $fields = [
		'id' => ['type' => 'integer'],
		'name' => ['type' => 'string', 'null' => true],
		'password' => ['type' => 'string', 'null' => true],
		'role_id' => ['type' => 'integer', 'null' => true],
		'_constraints' => ['primary' => ['type' => 'primary', 'columns' => ['id']]]
	];

	/**
	 * Records property
	 *
	 * @var array
	 */
	public $records = [
		['role_id' => 1, 'password' => '123456', 'name' => 'User 1'],
		['role_id' => 2, 'password' => '123456', 'name' => 'User 2'],
		['role_id' => 1, 'password' => '123456', 'name' => 'User 3'],
		['role_id' => 3, 'password' => '123456', 'name' => 'User 4']
	];

}
