ZapPageFormButtons.php 661 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. class ZapPageFormButtons extends Model
  6. {
  7. use HasFactory;
  8. /**
  9. * The database table used by the model.
  10. *
  11. * @var string
  12. */
  13. protected $table = 'zap_page_form_buttons';
  14. /**
  15. * The database primary key value.
  16. *
  17. * @var string
  18. */
  19. protected $primaryKey = 'id';
  20. /**
  21. * Attributes that should be mass-assignable.
  22. *
  23. * @var array
  24. */
  25. protected $fillable = [
  26. 'zap_page_id',
  27. 'button_type',
  28. 'button_value',
  29. 'on_submit',
  30. ];
  31. }