base

package
v0.0.0-...-d6791e1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JunctionModel

type JunctionModel struct {
	IsActive  bool      `db:"is_active" json:"isActive" default:"true"`
	DeletedAt time.Time `db:"deleted_at" json:"deletedAt" default:"null"`
	CreatedAt time.Time `db:"created_at" json:"createdAt" default:"CURRENT_TIMESTAMP"`
	UpdatedAt time.Time `db:"updated_at" json:"updatedAt" default:"CURRENT_TIMESTAMP"`
}

type Model

type Model struct {
	Id        uuid.UUID `db:"id" json:"id"`
	IsActive  bool      `db:"is_active" json:"isActive" default:"true"`
	DeletedAt time.Time `db:"deleted_at" json:"deletedAt" default:"null"`
	CreatedAt time.Time `db:"created_at" json:"createdAt" default:"CURRENT_TIMESTAMP"`
	UpdatedAt time.Time `db:"updated_at" json:"updatedAt" default:"CURRENT_TIMESTAMP"`
}

Jump to

Keyboard shortcuts

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