2021-07-14 21:50:34 -03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
class HoraFlag extends Model
|
|
|
|
{
|
|
|
|
use HasFactory;
|
2021-07-14 22:33:14 -03:00
|
|
|
|
2021-07-28 18:34:54 -03:00
|
|
|
/**
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
*
|
|
|
|
* @var array
|
|
|
|
*/
|
|
|
|
protected $fillable = ['dia_id', 'minutoDelDia', 'flag'];
|
|
|
|
|
2021-07-14 22:33:14 -03:00
|
|
|
public function dia() {
|
|
|
|
return $this->belongsTo(Dia::class);
|
|
|
|
}
|
2021-07-14 21:50:34 -03:00
|
|
|
}
|