<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Alert extends Model { protected $table = 'alert'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; protected $fillable = [ 'nama', 'config_alert_id', 'keterangan', 'subproyek_id', 'created_at', 'created_by', 'updated_at', 'updated_by' ]; }