You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
519 B
PHTML
31 lines
519 B
PHTML
2 years ago
|
<?php namespace App\Models;
|
||
|
|
||
|
use App\Casts\EncryptFixed;
|
||
|
|
||
|
class SmsDetail extends BaseSoftDeleteModel
|
||
|
{
|
||
|
protected $table = 'sms_detail';
|
||
|
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $fillable = [
|
||
|
'sms_id', 'phone', 'success', 'error'
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* The attributes that should be hidden for arrays.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $hidden = [
|
||
|
];
|
||
|
|
||
|
protected $casts = [
|
||
|
'phone' => EncryptFixed::class,
|
||
|
];
|
||
|
|
||
|
}
|