12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Models\Coach;
- use App\Models\Service\Project;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Notifications\Notifiable;
- use Illuminate\Support\Facades\DB;
- class Site extends Model
- {
- use HasFactory, Notifiable;
- protected $table = 'coach_site';
- /**
- * The attributes that are mass assignable.
- *
- * @var array<int, string>
- */
- protected $fillable = [];
- protected $guarded = [];
- protected $appends = [];
- /**
- * The attributes that should be hidden for serialization.
- *
- * @var array<int, string>
- */
- protected $hidden = [];
- /**
- * Get the attributes that should be cast.
- *
- * @return array<string, string>
- */
- protected function casts(): array
- {
- return [
- // 'password' => 'hashed',
- 'verify_time' => 'datetime',
- 'auth_time' => 'datetime'
- ];
- }
- }
|