Courier.php 493 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace App\Shop\Couriers;
  3. use App\Shop\Orders\Order;
  4. use Illuminate\Database\Eloquent\Model;
  5. class Courier extends Model
  6. {
  7. /**
  8. * The attributes that are mass assignable.
  9. *
  10. * @var array
  11. */
  12. protected $fillable = [
  13. 'name',
  14. 'description',
  15. 'url',
  16. 'is_free',
  17. 'cost',
  18. 'status'
  19. ];
  20. /**
  21. * The attributes that should be hidden for arrays.
  22. *
  23. * @var array
  24. */
  25. protected $hidden = [];
  26. }