Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCallbacks ¶
Types ¶
type BaseModel ¶
type BaseModel struct { IDModel MetadataTimeModel DeleteModel }
type DeleteModel ¶
type DeleteModel struct {
Delete bool `json:"deleted" gorm:"column:deleted; not null"` // 数据软删除
}
type MetadataTimeModel ¶
type UniqueUUIDModel ¶
Click to show internal directories.
Click to hide internal directories.