['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], 'sn' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'givenname' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'uid' => ['type' => 'string', 'length' => 26, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'userpassword' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'mail' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], '_constraints' => [ 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], 'login_UNIQUE' => ['type' => 'unique', 'columns' => ['uid'], 'length' => []], ], '_options' => [ 'engine' => 'InnoDB', 'collation' => 'latin1_swedish_ci' ], ]; // @codingStandardsIgnoreEnd /** * Records * * @var array */ public $records = [ // Superadmin [ //'id' => 1, //'sn' => 'test1 test2', //'sn' => 'user1 SUPER', 'sn' => 'user1', 'givenname' => 'SUPER', //'username' => 'testa', 'uid' => 'user1_SUPER', 'userpassword' => '$2y$10$VtYdA8Evkc.K.VpvqmF9wui5hc9ep19f8ukWBeFBIlunXSHPqw.K2', //'email' => 'testa@test.fr', 'mail' => 'user1_SUPER@test.fr', ], // Adminplus [ //'id' => 2, //'sn' => 'test3 test4', //'sn' => 'user2 ADMINP', 'sn' => 'user2', 'givenname' => 'ADMINP', //'uid' => 'testz', 'uid' => 'user2_ADMINPLUS', 'userpassword' => '$2y$10$VtYdA8Evkc.K.VpvqmF9wui5hc9ep19f8ukWBeFBIlunXSHPqw.K2', 'mail' => 'testz@test.fr', ], // Admin [ //'id' => 3, //'sn' => 'test5 test6', //'sn' => 'user3 ADMIN', 'sn' => 'user3', 'givenname' => 'ADMIN', //'uid' => 'teste', 'uid' => 'user3_ADMIN', 'userpassword' => '$2y$10$VtYdA8Evkc.K.VpvqmF9wui5hc9ep19f8ukWBeFBIlunXSHPqw.K2', 'mail' => 'teste@test.fr', ], // Responsable [ //'id' => 4, //'sn' => 'test7 test8', //'sn' => 'user4 RESP', 'sn' => 'user4', 'givenname' => 'RESP', //'uid' => 'testr', 'uid' => 'user4_RESP', 'userpassword' => '$2y$10$VtYdA8Evkc.K.VpvqmF9wui5hc9ep19f8ukWBeFBIlunXSHPqw.K2', 'mail' => 'testr@test.fr', ], // User (simple user, authentified, but no priviledge) [ //'id' => 5, //'sn' => 'test9 test0', //'sn' => 'user5 USER', 'sn' => 'user5', 'givenname' => 'USER', //'uid' => 'testt', 'uid' => 'user5_USER', 'userpassword' => '$2y$10$VtYdA8Evkc.K.VpvqmF9wui5hc9ep19f8ukWBeFBIlunXSHPqw.K2', 'mail' => 'testt@test.fr', ], ]; }