SystemLog.php 723 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Module\System\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. use UCore\ModelCore;
  5. /**
  6. * 队列运行记录模型
  7. *
  8. * field start
  9. * @property int $id 主键ID
  10. * @property string $level1 来源类型(fund, item, farm等)
  11. * @property string $message 日志消息内容
  12. * @property \Carbon\Carbon $created_at 创建时间(兼容字段,等同于collected_at)
  13. * @property string $data1 数据
  14. * field end
  15. *
  16. */
  17. class SystemLog extends ModelCore
  18. {
  19. protected $table = 'system_logs';
  20. public $timestamps = false;
  21. // attrlist start
  22. protected $fillable = [
  23. 'id',
  24. 'level1',
  25. 'message',
  26. 'data1',
  27. ];
  28. // attrlist end
  29. }