model

package
v0.0.0-...-a548ab7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLog

type AuditLog struct {
	ID           int64     `orm:"pk;auto;column(id)" json:"id"`
	ProjectID    int64     `orm:"column(project_id)" json:"project_id"`
	Operation    string    `orm:"column(operation)" json:"operation"`
	ResourceType string    `orm:"column(resource_type)"  json:"resource_type"`
	Resource     string    `orm:"column(resource)" json:"resource"`
	Username     string    `orm:"column(username)"  json:"username"`
	OpTime       time.Time `orm:"column(op_time)" json:"op_time" sort:"default:desc"`
}

AuditLog ...

func (*AuditLog) TableName

func (a *AuditLog) TableName() string

TableName for audit log

Jump to

Keyboard shortcuts

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