github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_entity/sys_logs.go (about)

     1  // =================================================================================
     2  // Code generated by GoFrame CLI tool. DO NOT EDIT.
     3  // =================================================================================
     4  
     5  package sys_entity
     6  
     7  import (
     8  	"github.com/gogf/gf/v2/os/gtime"
     9  )
    10  
    11  // SysLogs is the golang structure for table sys_logs.
    12  type SysLogs struct {
    13  	Id        int64       `json:"id"        description:"ID"`
    14  	UserId    int64       `json:"userId"    description:"用户UID"`
    15  	Error     string      `json:"error"     description:"错误信息"`
    16  	Category  string      `json:"category"  description:"分类"`
    17  	Level     int         `json:"level"     description:"等级"`
    18  	Content   string      `json:"content"   description:"日志内容"`
    19  	Context   string      `json:"context"   description:"上下文数据"`
    20  	CreatedAt *gtime.Time `json:"createdAt" description:""`
    21  	UpdatedAt *gtime.Time `json:"updatedAt" description:""`
    22  }