<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Link extends Model { protected $table = 'm_activity_link'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; protected $fillable = [ 's_activity_id', 't_activity_id', 'type_link', 'code_link', 'version_gantt_id', 'lag', 'created_at', 'created_by', 'updated_at', 'updated_by' ]; }