Verify.php 979 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace App\Models\Coach;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. use Illuminate\Foundation\Auth\User as Authenticatable;
  6. use Illuminate\Notifications\Notifiable;
  7. use Laravel\Sanctum\HasApiTokens;
  8. use Spatie\Permission\Traits\HasRoles;
  9. class Verify extends Model
  10. {
  11. use HasFactory, Notifiable;
  12. protected $table = 'coach_verify';
  13. /**
  14. * The attributes that are mass assignable.
  15. *
  16. * @var array<int, string>
  17. */
  18. protected $fillable = [];
  19. protected $guarded = [];
  20. /**
  21. * The attributes that should be hidden for serialization.
  22. *
  23. * @var array<int, string>
  24. */
  25. protected $hidden = [];
  26. /**
  27. * Get the attributes that should be cast.
  28. *
  29. * @return array<string, string>
  30. */
  31. protected function casts(): array
  32. {
  33. return [
  34. // 'password' => 'hashed',
  35. 'verify_time' => 'datetime'
  36. ];
  37. }
  38. }