gomod引用
This commit is contained in:
@@ -1,17 +1,14 @@
|
||||
package entity
|
||||
|
||||
import (
|
||||
"time"
|
||||
"gitee.com/red-future---jilin-g/common/do"
|
||||
)
|
||||
|
||||
const ApplicationCollection = "application"
|
||||
|
||||
// Application 应用实体
|
||||
type Application struct {
|
||||
Id string `json:"_id,omitempty" bson:"_id,omitempty"` // 主键ID
|
||||
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
||||
UpdatedAt time.Time `json:"updatedAt"` // 更新时间
|
||||
Creator string `json:"creator"` // 创建者
|
||||
Updater string `json:"updater"` // 更新者
|
||||
IsDeleted bool `json:"isDeleted"` // 是否删除
|
||||
do.MongoBaseDO `bson:",inline" json:",inline"` // 嵌入基础字段:Id, Creator, CreatedAt, Updater, UpdatedAt, TenantId, IsDeleted
|
||||
|
||||
// 应用信息
|
||||
Name string `json:"name"` // 应用名称
|
||||
|
||||
Reference in New Issue
Block a user