| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace App\Module\Sms\Models;
- use UCore\ModelCore;
- use Illuminate\Database\Eloquent\SoftDeletes;
- /**
- * 短信验证码模型
- *
- * field start
- * field end
- *
- */
- class SmsCode extends ModelCore
- {
- use SoftDeletes;
- /**
- * 数据表名称
- *
- * @var string
- */
- protected $table = 'sms_code';
- /**
- * 可批量赋值的属性
- *
- * @var array
- */
- protected $fillable = [
- 'mobile',
- 'token',
- 'type',
- 'code_value'
- ];
- /**
- * 应该被调整为日期的属性
- *
- * @var array
- */
- protected $dates = [
- 'created_at',
- 'updated_at',
- 'deleted_at'
- ];
- }
|