Site.php 982 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace App\Models\Coach;
  3. use App\Models\Service\Project;
  4. use Illuminate\Database\Eloquent\Factories\HasFactory;
  5. use Illuminate\Database\Eloquent\Model;
  6. use Illuminate\Notifications\Notifiable;
  7. use Illuminate\Support\Facades\DB;
  8. class Site extends Model
  9. {
  10. use HasFactory, Notifiable;
  11. protected $table = 'coach_site';
  12. /**
  13. * The attributes that are mass assignable.
  14. *
  15. * @var array<int, string>
  16. */
  17. protected $fillable = [];
  18. protected $guarded = [];
  19. protected $appends = [];
  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. 'auth_time' => 'datetime'
  37. ];
  38. }
  39. }