Admins.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxCloudVps\Core\Models\Whmcs;
  3. use \Illuminate\Database\Eloquent\Model as EloquentModel;
  4. /**
  5. * Description of Addon
  6. *
  7. * @var int id
  8. * @var string uuid
  9. * @var int roleid
  10. * @var string username
  11. * @var string password
  12. * @var string passwordhash
  13. * @var string authmodule
  14. * @var string authdata
  15. * @var string firstname
  16. * @var string lastname
  17. * @var string email
  18. * @var string signature
  19. * @var string notes
  20. * @var string template
  21. * @var string language
  22. * @var int disabled
  23. * @var int loginattempts
  24. * @var string supportdepts
  25. * @var string ticketnotifications
  26. * @var string homewidgets
  27. * @var string password_reset_key
  28. * @var string password_reset_data
  29. * @var timestamp password_reset_expiry
  30. * @var timestamp created_at
  31. * @var timestamp updated_at
  32. *
  33. * @author Paweł Złamaniec <rafal.os@modulesgarden.com>
  34. */
  35. class Admins extends EloquentModel
  36. {
  37. /**
  38. * Table name
  39. *
  40. * @var string
  41. */
  42. protected $table = 'tbladmins';
  43. /**
  44. * Eloquent guarded parameters
  45. * @var array
  46. */
  47. protected $guarded = ['id'];
  48. protected $primaryKey = 'id';
  49. /**
  50. * Eloquent fillable parameters
  51. * @var array
  52. */
  53. protected $fillable = ['uuid', 'roleid', 'username', 'password', 'passwordhash', 'authmodule', 'authdata', 'firstname', 'lastname', 'email', 'signature', 'notes', 'template', 'language', 'disabled', 'loginattempts', 'supportdepts', 'ticketnotifications', 'homewidgets', 'password_reset_key', 'password_reset_data', 'password_reset_expiry', 'created_at', 'updated_at'];
  54. /**
  55. * Indicates if the model should soft delete.
  56. *
  57. * @var bool
  58. */
  59. protected $softDelete = false;
  60. /**
  61. * Indicates if the model should be timestamped.
  62. *
  63. * @var bool
  64. */
  65. public $timestamps = false;
  66. public function __construct(array $attributes = [])
  67. {
  68. parent::__construct($attributes);
  69. }
  70. }