1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace App\Models\Log;
- use App\Models\Model;
- use Illuminate\Support\Facades\Config;
- /**
- * App\Models\Log\UserActionModel
- *
- * @property int $id
- * @property int|null $uid 用户
- * @property string|null $appid appid
- * @property string|null $action 行为
- * @property int|null $created_at 创建时间
- * @property string|null $extra 附加
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel newModelQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel newQuery()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel query()
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereAction($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereAppid($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereCreatedAt($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereExtra($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereId($value)
- * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Log\UserActionModel whereUid($value)
- * @mixin \Eloquent
- */
- class UserActionModel extends Model
- {
- protected $connection = "mysql_datalog";
- protected $table = "user_action";
- protected $dateFormat = 'U';
- public const UPDATED_AT = null;
- public $fillable = [
- 'appid',
- 'uid',
- 'tuid',
- 'action',
- 'field',
- 'extra'
- ];
- }
|