Category.php 518 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace App\Repositories\Models\Base;
  3. use Illuminate\Database\Eloquent\Model;
  4. use Prettus\Repository\Contracts\Transformable;
  5. use Prettus\Repository\Traits\TransformableTrait;
  6. /**
  7. * Class Category.
  8. *
  9. * @package namespace App\Repositories\Models\Base;
  10. */
  11. class Category extends Model implements Transformable
  12. {
  13. use TransformableTrait;
  14. protected $table = 'base_categories';
  15. /**
  16. * The attributes that are mass assignable.
  17. *
  18. * @var array
  19. */
  20. protected $guarded = [];
  21. }