.gitignore

This commit is contained in:
2026-02-12 08:38:35 +08:00
parent 57e49db295
commit 5e4306f11a
2 changed files with 470 additions and 0 deletions

View File

@@ -36,6 +36,17 @@ type MongoBaseDO struct {
IsDeleted bool `bson:"isDeleted" json:"isDeleted" default:"false"`
}
// SQLBaseDO SQL数据库基础实体
type SQLBaseDO struct {
Id uint64 `json:"id"` // 主键ID
Creator string `json:"creator"` // 创建人
CreatedAt *time.Time `json:"createdAt"` // 创建时间
Updater string `json:"updater"` // 更新人
UpdatedAt *time.Time `json:"updatedAt"` // 更新时间
TenantId string `json:"tenantId"` // 租户ID
IsDeleted bool `json:"isDeleted"` // 是否删除
}
type User struct {
UserId interface{} `bson:"userId" json:"userId"` // 用户ID
UserName interface{} `bson:"userName" json:"userName"` // 用户名