1
0
mirror of https://github.com/robonen/education-project.git synced 2026-03-20 02:44:31 +00:00
Files
education-project/app/Models/Theme.php
2020-12-03 23:33:04 +07:00

22 lines
338 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Theme extends Model
{
use HasFactory;
protected $fillable = [
'name',
'variant'
];
public function banktaks()
{
return $this->hasMany(BankTask::class);
}
}