AdminLog.php 875 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "admin_log".
  6. *
  7. * @property int $id id
  8. * @property int $uid
  9. * @property string $role_name
  10. * @property string $username
  11. * @property string $name
  12. * @property string $url
  13. * @property string $title
  14. * @property string $content
  15. * @property string $ip
  16. * @property string $useragent
  17. * @property string $create_time
  18. * @property int $history_id
  19. */
  20. class AdminLog extends \yii\db\ActiveRecord
  21. {
  22. public $origin = "";
  23. public $current = "";
  24. /**
  25. * {@inheritdoc}
  26. */
  27. public static function tableName()
  28. {
  29. return 'admin_log';
  30. }
  31. /**
  32. * {@inheritdoc}
  33. */
  34. public function rules()
  35. {
  36. return [
  37. ];
  38. }
  39. /**
  40. * {@inheritdoc}
  41. */
  42. public function attributeLabels()
  43. {
  44. return [
  45. ];
  46. }
  47. }