mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-10 01:40:25 +08:00
feat: dbms新增支持工单流程审批
This commit is contained in:
20
server/internal/mongo/api/vo/mongo.go
Normal file
20
server/internal/mongo/api/vo/mongo.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package vo
|
||||
|
||||
import (
|
||||
tagentity "mayfly-go/internal/tag/domain/entity"
|
||||
"mayfly-go/pkg/model"
|
||||
)
|
||||
|
||||
type Mongo struct {
|
||||
model.Model
|
||||
tagentity.ResourceTags
|
||||
|
||||
Code string `orm:"column(code)" json:"code"`
|
||||
Name string `orm:"column(name)" json:"name"`
|
||||
Uri string `orm:"column(uri)" json:"uri"`
|
||||
SshTunnelMachineId int `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
|
||||
}
|
||||
|
||||
func (m *Mongo) GetCode() string {
|
||||
return m.Code
|
||||
}
|
||||
Reference in New Issue
Block a user