31 lines
565 B
PHP
31 lines
565 B
PHP
<?php
|
|||
|
|
|
||
|
|
namespace App\Models;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
|
||
|
|
class SmsSendLog extends Model
|
||
|
|
{
|
||
|
|
public $timestamps = false;
|
||
|
|
|
||
|
|
protected $fillable = [
|
||
|
|
'receiver',
|
||
|
|
'body',
|
||
|
|
'parts',
|
||
|
|
'price_per_part',
|
||
|
|
'total_amount',
|
||
|
|
'provider',
|
||
|
|
'source',
|
||
|
|
'is_alert',
|
||
|
|
'created_at',
|
||
|
|
];
|
||
|
|
|
||
|
|
protected $casts = [
|
||
|
|
'parts' => 'integer',
|
||
|
|
'price_per_part' => 'integer',
|
||
|
|
'total_amount' => 'integer',
|
||
|
|
'is_alert' => 'boolean',
|
||
|
|
'created_at' => 'datetime',
|
||
|
|
];
|
||
|
|
}
|