38 lines
757 B
PHP
38 lines
757 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
use App\Enums\RecordStatusEnum;
|
|
use DateTime;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Support\Facades\App;
|
|
use Illuminate\Support\Facades\Session;
|
|
|
|
class PatientTelegram extends BaseModel
|
|
{
|
|
public $timestamps = false;
|
|
use HasFactory;
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
|
|
protected $table = 'patient_telegram';
|
|
|
|
protected $fillable =
|
|
[
|
|
'patient_id',
|
|
'chat_id',
|
|
self::CREATED_AT_FIELD,
|
|
self::CREATED_BY_FIELD,
|
|
self::UPDATED_BY_FIELD,
|
|
BaseModel::RECORD_STATUS_FIELD
|
|
];
|
|
|
|
public static function boot()
|
|
{
|
|
parent::boot();
|
|
}
|
|
|
|
}
|