Contact.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\Models\Whmcs;
  3. use \Illuminate\Database\Eloquent\Model as EloquentModel;
  4. /**
  5. * Description of Contact
  6. *
  7. *
  8. * @author Paweł Złamaniec <pawel.zl@thurdata.com>
  9. */
  10. class Contact extends EloquentModel
  11. {
  12. /**
  13. * Table name
  14. *
  15. * @var string
  16. */
  17. protected $table = 'tblcontacts';
  18. protected $primaryKey = 'id';
  19. /**
  20. * Eloquent guarded parameters
  21. * @var array
  22. */
  23. protected $guarded = ['id'];
  24. /**
  25. * Eloquent fillable parameters
  26. * @var array
  27. */
  28. protected $fillable = ['uuid', 'firstname', 'lastname', 'companyname', 'email', 'address1', 'address2', 'city', 'state', 'postcode', 'country', 'phonenumber', 'password', 'authmodule', 'authdata', 'currency', 'defaultgateway', 'credit', 'taxexempt', 'latefeeoveride', 'overideduenotices', 'separateinvoices', 'disableautocc', 'datecreated', 'notes', 'billingcid', 'securityqid', 'securityqans', 'groupid', 'cardtype', 'cardlastfour', 'bankname', 'banktype', 'gatewayid', 'lastlogin', 'ip', 'host', 'status', 'language', 'pwresetkey', 'emailoptout', 'overrideautoclose', 'allow_sso', 'email_verified', 'created_at', 'updated_at', 'pwresetexpiry'];
  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. public function __construct(array $attributes = [])
  42. {
  43. parent::__construct($attributes);
  44. }
  45. }