init project

This commit is contained in:
2026-05-25 11:08:52 +07:00
parent a388c619b5
commit 895fdd9b83
1437 changed files with 384844 additions and 27 deletions

29
app/Models/Test.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Test extends BaseModel
{
public $timestamps = true;
use HasFactory;
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'tests';
protected $fillable = ['name_en','lab_id','created_at','created_by','record_status_id'];
public static function boot()
{
parent::boot();
}
public function lab(){
return $this->belongsTo('App\Models\Laboratory', 'lab_id','id');
}
}