'SousCategories']; /** * Fields * * @var array */ /* // @codingStandardsIgnoreStart public $fields = [ 'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null], 'nom' => ['type' => 'string', 'length' => 45, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null], 'categorie_id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'autoIncrement' => null], '_indexes' => [ 'category_id' => ['type' => 'index', 'columns' => ['categorie_id'], 'length' => []], ], '_constraints' => [ 'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []], 'category_id' => ['type' => 'foreign', 'columns' => ['categorie_id'], 'references' => ['categories', 'id'], 'update' => 'noAction', 'delete' => 'noAction', 'length' => []], ], '_options' => [ 'engine' => 'InnoDB', 'collation' => 'latin1_swedish_ci' ], ]; // @codingStandardsIgnoreEnd */ /** * Records * * @var array */ public $records = [ [ //'id' => 1, 'nom' => 'Lorem ipsum dolor sit amet', 'categorie_id' => 1 ], ]; }