Credit.php 935 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace ModulesGarden\ProxmoxAddon\Core\Models\Whmcs;
  3. use \Illuminate\Database\Eloquent\Model as EloquentModel;
  4. class Credit extends EloquentModel
  5. {
  6. /**
  7. * Table name
  8. *
  9. * @var string
  10. */
  11. protected $table = 'tblcredit';
  12. protected $primaryKey = 'id';
  13. /**
  14. * Eloquent guarded parameters
  15. * @var array
  16. */
  17. protected $guarded = ['id'];
  18. /**
  19. * Eloquent fillable parameters
  20. * @var array
  21. */
  22. protected $fillable = ['clientid', 'date', 'description', 'amount', 'relid'];
  23. /**
  24. * The attributes that should be mutated to dates.
  25. *
  26. * @var array
  27. */
  28. protected $dates = ['date'];
  29. /**
  30. * Indicates if the model should soft delete.
  31. *
  32. * @var bool
  33. */
  34. protected $softDelete = false;
  35. /**
  36. * Indicates if the model should be timestamped.
  37. *
  38. * @var bool
  39. */
  40. public $timestamps = false;
  41. }