<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\User;

class SignInOut extends Model
{
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    
    protected $fillable = [
        'user_id', 'date', 'sign_in','sign_out'
    ];
    public function user(){
    	return $this->belongsTo(User::class, 'user_id');
    }
}
