.gitignore
This commit is contained in:
@@ -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"` // 用户名
|
||||
|
||||
Reference in New Issue
Block a user