| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?php
- namespace App\Module\Sms\Models;
- use Illuminate\Database\Eloquent\SoftDeletes;
- use UCore\ModelCore;
- /**
- * 数据库-短信网关 模型
- *
- * field start
- * @property int $id
- * @property string $tpl_id
- * @property string $tpl_value
- * @property string $key
- * @property string $universal_number
- * @property string $mobile
- * @property string $content
- * @property string $idd_code
- * @property string $zero_prefixed_number
- * @property \Carbon\Carbon $created_at
- * @property \Carbon\Carbon $updated_at
- * @property \Carbon\Carbon $deleted_at 删除时间
- * field end
- */
- class SmsDbGateway extends ModelCore
- {
- use SoftDeletes;
- /**
- * 数据表名称
- *
- * @var string
- */
- protected $table = 'sms_dbgateway';
- // attrlist start
- protected $fillable = [
- 'id',
- 'tpl_id',
- 'tpl_value',
- 'key',
- 'universal_number',
- 'mobile',
- 'content',
- 'idd_code',
- 'zero_prefixed_number',
- ];
- // attrlist end
- /**
- * 可批量赋值的属性
- *
- * @var array
- */
- protected $fillable = [
- 'tpl_id',
- 'tpl_value',
- 'key',
- 'universal_number',
- 'mobile',
- 'content',
- 'idd_code',
- 'zero_prefixed_number'
- ];
- /**
- * 应该被调整为日期的属性
- *
- * @var array
- */
- protected $dates = [
- 'created_at',
- 'updated_at',
- 'deleted_at'
- ];
- }
|