Initial Commit
This commit is contained in:
16
app/Models/Records.php
Normal file
16
app/Models/Records.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Records extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
public function domain(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Domains::class, 'domains_id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user