Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrIdModel ¶
type StrIdModel struct {
ID string `json:"id" gorm:"primarykey"`
}
func (*StrIdModel) BeforeCreate ¶
func (m *StrIdModel) BeforeCreate(tx *gorm.DB) (err error)
type TailModel ¶
type TailModel struct { CreateTime customTime.CustomTime `json:"createTime" gorm:"autoCreateTime;comment:创建时间" swaggertype:"string"` CreateBy string `json:"createBy" gorm:"comment:创建人"` UpdateTime customTime.CustomTime `json:"-" gorm:"autoUpdateTime;comment:更新时间" swaggerignore:"true" swaggertype:"string"` UpdateBy string `json:"-" gorm:"comment:更新人" swaggerignore:"true"` Deleted gorm.DeletedAt `json:"-" gorm:"index;comment:逻辑删除" swaggerignore:"true"` }
Click to show internal directories.
Click to hide internal directories.