<?php namespace App; class Post extends Model { protected $table = 'master_posts'; public const CREATED_AT = 'created_timestamp'; public const UPDATED_AT = 'updated_timestamp'; protected $primaryKey = 'pid'; }