Co-authored-by: Juan Felipe Zapata Moreno <zapata_pipe@hotmail.com> Reviewed-on: #1
37 lines
635 B
PHP
37 lines
635 B
PHP
<?php namespace App\Models;
|
|
/**
|
|
* @copyright (c) 2025 Notsoweb Software (https://notsoweb.com) - All Rights Reserved
|
|
*/
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Descripción
|
|
*
|
|
* @author Moisés Cortés C. <moises.cortes@notsoweb.com>
|
|
*
|
|
* @version 1.0.0
|
|
*/
|
|
class ClientSim extends Model
|
|
{
|
|
protected $fillable = [
|
|
'client_id',
|
|
'sim_card_id',
|
|
'assigned_at',
|
|
'released_at',
|
|
'is_active',
|
|
];
|
|
|
|
|
|
public function client()
|
|
{
|
|
return $this->belongsTo(Client::class);
|
|
}
|
|
|
|
public function simCard()
|
|
{
|
|
return $this->belongsTo(SimCard::class);
|
|
}
|
|
}
|