schema

package
v1.1.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessCreateDTO

type AccessCreateDTO struct {
	Id          string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	UserId      string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
	Path        string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Access      int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Count       int    `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
	Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
}

type AccessQueryDTO

type AccessQueryDTO struct {
	Id               string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	UserId           string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
	Path             string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Access           int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Ip               string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Count            int    `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
	Description      string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status           int    `gorm:"column:status;type:int" json:"Status"`
	CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
	CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
}

type AccessVO

type AccessVO struct {
	Id          string `gorm:"column:id;primaryKey" json:"Id" form:"Id" comment:"Id"`
	UserId      string `gorm:"column:user_id" json:"UserId" form:"UserId" comment:"UserId"`
	Path        string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Access      int    `gorm:"column:access;default:1" json:"Access" form:"Access" comment:"Access"`
	Ip          string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Count       int    `gorm:"column:Count;type:int" json:"Count" form:"Count" comment:"Count"`
	Description string `gorm:"column:description" json:"Description" form:"Description" comment:"Description"`
	Status      int    `gorm:"column:status;type:int" json:"Status"`
	CreatedAt   base.ISO8601Time
	UpdatedAt   base.ISO8601Time
}

func (AccessVO) GetDetailVO

func (c AccessVO) GetDetailVO() interface{}

func (AccessVO) GetListVO

func (c AccessVO) GetListVO() interface{}

type LogCtxDTO

type LogCtxDTO struct {
	Code       string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level      string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message    string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip         string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path       string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method     string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers    string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body       string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency    int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName   string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName   string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data       string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
}

type LogCtxQueryDTO added in v1.0.8

type LogCtxQueryDTO struct {
	Id               int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code             string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level            string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message          string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip               string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path             string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method           string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode       int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers          string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body             string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency          int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName         string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName         string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data             string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
	CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
}

type LogCtxVO

type LogCtxVO struct {
	Id         int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code       string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level      string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message    string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip         string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path       string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method     string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers    string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body       string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency    int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName   string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName   string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data       string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	CreatedAt  base.ISO8601Time
	UpdatedAt  base.ISO8601Time
}

func (LogCtxVO) GetDetailVO

func (c LogCtxVO) GetDetailVO() interface{}

func (LogCtxVO) GetListVO

func (c LogCtxVO) GetListVO() interface{}

type LogInfoDTO

type LogInfoDTO struct {
	Code    string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level   string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip      string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
}

type LogInfoQueryDTO added in v1.0.8

type LogInfoQueryDTO struct {
	Id               int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code             string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level            string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message          string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip               string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
	CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
}

type LogInfoVO

type LogInfoVO struct {
	Id        int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code      string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level     string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message   string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip        string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	CreatedAt base.ISO8601Time
	UpdatedAt base.ISO8601Time
}

func (LogInfoVO) GetDetailVO

func (c LogInfoVO) GetDetailVO() interface{}

func (LogInfoVO) GetListVO

func (c LogInfoVO) GetListVO() interface{}

type LogerrDTO

type LogerrDTO struct {
	Code       string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level      string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message    string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip         string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path       string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method     string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers    string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body       string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency    int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName   string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName   string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data       string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
}

type LogerrQueryDTO added in v1.0.8

type LogerrQueryDTO struct {
	Id               int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code             string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level            string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message          string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip               string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path             string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method           string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode       int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers          string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body             string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency          int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName         string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName         string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data             string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"`
	CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"`
}

type LogerrVO

type LogerrVO struct {
	Id         int64  `gorm:"primaryKey;autoIncrement:false" json:"Id,string"`
	Code       string `gorm:"column:code" json:"Code" form:"Code" comment:"Code"`
	Level      string `gorm:"column:level" json:"Level" form:"Level" comment:"Level"`
	Message    string `gorm:"column:message" json:"Message" form:"Message" comment:"Message"`
	Ip         string `gorm:"column:ip" json:"Ip" form:"Ip" comment:"Ip"`
	Path       string `gorm:"column:path" json:"Path" form:"Path" comment:"Path"`
	Method     string `gorm:"column:method" json:"Method" form:"Method" comment:"Method"`
	StatusCode int    `gorm:"column:status_code" json:"StatusCode" form:"StatusCode" comment:"StatusCode"`
	Headers    string `gorm:"column:headers" json:"Headers" form:"Headers" comment:"Headers"`
	Body       string `gorm:"column:body" json:"Body" form:"Body" comment:"Body"`
	Latency    int64  `gorm:"column:latency" json:"Latency,string"  form:"Latency" comment:"Latency"`
	FileName   string `gorm:"column:file_name" json:"FileName" form:"FileName" comment:"FileName"`
	FuncName   string `gorm:"column:func_name" json:"FuncName" form:"FuncName" comment:"FuncName"`
	Data       string `gorm:"column:data" json:"Data" form:"Data" comment:"Data"`
	CreatedAt  base.ISO8601Time
	UpdatedAt  base.ISO8601Time
}

func (LogerrVO) GetDetailVO

func (c LogerrVO) GetDetailVO() interface{}

func (LogerrVO) GetListVO

func (c LogerrVO) GetListVO() interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL