54 lines
958 B
PHP
54 lines
958 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class NhValidatingDoctor
|
|
*
|
|
* @property int $id
|
|
* @property int $network_id
|
|
* @property string|null $firstname
|
|
* @property string $lastname
|
|
* @property string $email
|
|
* @property string|null $phone
|
|
* @property string|null $password
|
|
* @property string|null $salt
|
|
* @property string $token
|
|
* @property string $role
|
|
* @property Carbon $created_at
|
|
* @property Carbon $updated_at
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class NhValidatingAgent extends Model
|
|
{
|
|
protected $table = 'nh_validating_agents';
|
|
|
|
protected $casts = [
|
|
'network_id' => 'int'
|
|
];
|
|
|
|
protected $hidden = [
|
|
'password',
|
|
'token'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'network_id',
|
|
'firstname',
|
|
'lastname',
|
|
'email',
|
|
'phone',
|
|
'password',
|
|
'salt',
|
|
'token'
|
|
];
|
|
}
|