Credit.php 946 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxCloudVps\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. }