model

package
v0.0.0-...-b6af633 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Approval

type Approval struct {
	ID         uuid.UUID `json:"id" gorm:"type:uuid;primaryKey"`
	PurchaseID uuid.UUID `json:"purchase_id"`
	Username   string    `json:"username"`
	Action     string    `json:"action"`
	CreatedAt  time.Time `json:"created_at"`
	UpdatedAt  time.Time `json:"updated_at"`
}

func (*Approval) BeforeCreate

func (a *Approval) BeforeCreate(tx *gorm.DB) error

func (Approval) TableName

func (Approval) TableName() string

Jump to

Keyboard shortcuts

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