123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- /**
- * Class AdminLog.
- *
- * @package namespace App\Models;
- * @property int $id
- * @property int $m_id
- * @property string $url 请求路由
- * @property string $msg 说明
- * @property string $ip 请求IP
- * @property string $data 请求参数
- * @property \Illuminate\Support\Carbon|null $created_at
- * @property \Illuminate\Support\Carbon|null $updated_at
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog query()
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereData($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereIp($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereMId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereMsg($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereUpdatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|AdminLog whereUrl($value)
- * @mixin \Eloquent
- */
- class AdminLog extends Model implements Transformable
- {
- use TransformableTrait;
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $guarded = ['id', 'updated_at', 'created_at'];
- }
|