audit

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditEntity

type AuditEntity struct {
	base.Entity
	CreatedBy uuid.UUID `json:"createdBy" gorm:"comment:创建人"` //创建人id
	UpdatedBy uuid.UUID `json:"updatedBy" gorm:"comment:更新人"` //更新人id
}

func (*AuditEntity) BeforeCreate

func (u *AuditEntity) BeforeCreate(tx *gorm.DB) (err error)

func (*AuditEntity) BeforeDelete

func (u *AuditEntity) BeforeDelete(tx *gorm.DB) (err error)

func (*AuditEntity) BeforeSave

func (u *AuditEntity) BeforeSave(tx *gorm.DB) (err error)

func (*AuditEntity) BeforeUpdate

func (u *AuditEntity) BeforeUpdate(tx *gorm.DB) (err error)

Jump to

Keyboard shortcuts

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