changeweb/Unifiedtransform

View on GitHub
database/factories/AcademicSettingFactory.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Database\Factories;

use App\Models\AcademicSetting;
use Illuminate\Database\Eloquent\Factories\Factory;

class AcademicSettingFactory extends Factory
{
    /**
     * The name of the factory's corresponding model.
     *
     * @var string
     */
    protected $model = AcademicSetting::class;

    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'attendance_type' => 'section',
            'marks_submission_status' => 'off',
        ];
    }
}