Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditedEntity ¶
type AuditedEntity struct { Entity //创建时间 CreationTime time.Time `json:"creationTime" bson:"creationTime" gorm:"column:CreationTime"` //创建人 CreatorId *uuid.UUID `json:"creatorId" bson:"creatorId" gorm:"column:CreatorId"` //最后修改时间 LastModificationTime time.Time `json:"lastModificationTime"` //最后修改人id LastModifierId *uuid.UUID `json:"lastModifierId"` }
可审核的entity
func (*AuditedEntity) BeforeUpdate ¶
func (entity *AuditedEntity) BeforeUpdate()
type MayHaveTenantEntity ¶
带租户的实体
Click to show internal directories.
Click to hide internal directories.