41 lines
917 B
PHP
Executable File
41 lines
917 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models\OLDLMS;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Casts\Attribute;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class LivechatSummary extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
|
|
// public $sStatusNames = [
|
|
// 0 => 'Menunggu Konfirmasi',
|
|
// 1 => 'Diterima',
|
|
// 3 => 'Ditolak',
|
|
// 2 => 'Selesai',
|
|
// 4 => 'Expired',
|
|
// ];
|
|
|
|
public $sStatusNames = [
|
|
0 => 'Request TC',
|
|
1 => 'Accepted by Doctor but User not Payment',
|
|
3 => 'Decline by Doctor',
|
|
2 => 'Payment Success',
|
|
4 => 'Payment Expired',
|
|
5 => 'Cancel by Patient'
|
|
];
|
|
|
|
const CREATED_AT = 'dCreateOn';
|
|
const UPDATED_AT = 'dUpdateOn';
|
|
const DELETED_AT = 'dDeleteOn';
|
|
|
|
protected $connection = 'oldlms';
|
|
|
|
protected $table = 'tx_livechat_summary';
|
|
|
|
protected $primaryKey = 'nID';
|
|
}
|