'required|max:255', ]; public $table = 'bap_country'; public $fillable = [ 'name', 'alpha2', 'alpha3', 'is_active', 'continent', 'company_id' ]; protected $dates = ['deleted_at', 'updated_at']; /** * The attributes that should be casted to native types. * * @var array */ protected $casts = [ 'id' => 'integer', 'name' => 'string', 'alpha2' => 'string', 'alpha3' => 'string', 'is_active' => 'boolean' ]; }