package
Version:
v0.0.0-...-bf11267
Opens a new window with list of versions in this module.
Published: May 1, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Product struct {
bun.BaseModel
ID string `bun:"type:uuid,pk"`
Name string `bun:"name,notnull"`
Qtd uint64 `bun:"qtd,notnull"`
Price int64 `bun:"price,notnull"`
StockID string `bun:"type:uuid,notnull"`
Stock *Stock `bun:"rel:belongs-to,join:stock_id=id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.