package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Sep 27, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bill struct {
dbx.Metadata
Amount decimal.Decimal `json:"amount" gorm:"type:decimal(20,4);not null;default:0;comment:金额"`
}
type User struct {
dbx.Metadata
Name string `json:"name" gorm:"type:varchar(32);not null;comment:用户名"`
Email string `json:"email" gorm:"type:varchar(64);not null;comment:邮箱"`
Extra datatype.JSON `json:"extra" gorm:"comment:额外信息"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.