72 lines
1.4 KiB
PHP
72 lines
1.4 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ServicioProgreso extends Model
|
|
{
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = 'servicios_progreso';
|
|
|
|
/**
|
|
* The table primary key.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $primaryKey = 'id';
|
|
|
|
/**
|
|
* The attributes that should be casted to native types.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $casts = [];
|
|
|
|
/**
|
|
* Indicates if the primary key is autoincrement.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $incrementing = true;
|
|
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that should be filleable for arrays.
|
|
*
|
|
* @var array
|
|
*
|
|
* $guarded = [] or $filleable = []
|
|
*/
|
|
|
|
protected $guarded = [];
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'servicio_enc_id', 'servicio_det_id', 'fecha_ini_servidor', 'fecha_fin_servidor', 'fecha_ini_celular', 'fecha_fin_celular', 'duracion', 'lat_ini', 'lng_ini', 'lat_fin', 'lng_fin', 'comentarios', 'firma', 'pdf', 'aplica_garantia','litraje','encuesta_contestada'
|
|
];
|
|
|
|
/**
|
|
* The attributes that should be hidden for arrays.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $hidden = [
|
|
//
|
|
];
|
|
}
|