TypeDocumentsFixture.php 1.79 KB
<?php
namespace App\Test\Fixture;

use Cake\TestSuite\Fixture\TestFixture;

/**
 * TypeDocumentsFixture
 *
 */
class TypeDocumentsFixture extends TestFixture
{

    public $import = ['model' => 'TypeDocuments'];
    /**
     * 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' => 100, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
        '_constraints' => [
            'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
        ],
        '_options' => [
            'engine' => 'InnoDB',
            'collation' => 'latin1_swedish_ci'
        ],
    ];
    // @codingStandardsIgnoreEnd
    */

    /**
     * Records
     *
     * @var array
     */
    public $records = [
        [
            //'id' => 1,
            //'nom' => 'Lorem ipsum dolor sit amet'
            'nom' => 'DEVIS'
        ],
        [
            //'id' => 2,
            'nom' => 'BC (Bon de Commande)'
        ],
        [
            //'id' => 3,
            'nom' => 'BL (Bon de Livraison)'
        ],
        [
            //'id' => 4,
            'nom' => 'FACTURE'
        ],
        /*
        ('DEVIS'),
        ('BC (Bon de Commande)'),
        ('BL (Bon de Livraison)'),
        ('FACTURE'),
        ('Photo'),
        ('Documentation technique'),
        ('Spécifications'),
        ('CR de maintenance'),
        ("CR d'étalonnage"),
        ('Suivi de panne'),
        ('Certificat de garantie'),
        ('Certificat de conformité'),
        ("Manuel d'utilisation");
        */
    ];
}