43 lines
744 B
PHP
43 lines
744 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class NhDrugsAndDevice
|
|
*
|
|
* @property int $id
|
|
* @property int $network_id
|
|
* @property string $code
|
|
* @property string $name
|
|
* @property string $type
|
|
* @property boolean $on_prescription
|
|
* @property Carbon $created_at
|
|
* @property Carbon $updated_at
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class NhDrugsAndDevice extends Model
|
|
{
|
|
protected $table = 'nh_drugs_and_devices';
|
|
|
|
protected $casts = [
|
|
'network_id' => 'int',
|
|
'on_prescription' => 'boolean'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'network_id',
|
|
'code',
|
|
'name',
|
|
'type',
|
|
'on_prescription'
|
|
];
|
|
}
|