'required|max:255', 'symbol' => 'required|max:255', ]; public $table = 'bap_subscription_currency'; public $fillable = [ 'name', 'symbol', 'code' ]; protected $dates = ['deleted_at']; /** * The attributes that should be casted to native types. * * @var array */ protected $casts = [ 'id' => 'integer', 'name' => 'string', 'symbol' => 'string' ]; }