<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Client extends Model
{
    public $timestamps = false;
    protected $primaryKey = 'clientId';

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'clientId',
        'clientname',
        'username',
        'contactName',
        'contactNumber',
        'address',
        'employeeNumber',
        'headOffice',
        'clientCategory',
        'typeOfServices',
        'clientScopeCafe',
        'paymentTerms',
        'paymentdetails',
        'paymentcycle',
        'typeServiceSuggestion',
        'clientScopeSuggestion',
        'qr_code_status'
    ];
    public function client_emps(){

        return $this->hansMany('App\ClientEmp');
    }
}
