entity

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 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 Price

type Price struct {
	gorm.Model

	UserID   uint      `gorm:"not null,index"`
	DateTime time.Time `gorm:"not null"`
	Store    string    `gorm:"not null"`
	Product  string    `gorm:"not null"`
	Price    uint      `gorm:"not null"`
	InStock  bool      `gorm:"not null"`
}

type User

type User struct {
	gorm.Model

	Name     string `gorm:"not null;uniqueIndex"`
	Password string `gorm:"not null"`
}

Jump to

Keyboard shortcuts

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