-
Notifications
You must be signed in to change notification settings - Fork 66
/
domain.go
31 lines (24 loc) · 919 Bytes
/
domain.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package casesHelper
import (
"github.com/aaronchen2k/deeptest/internal/pkg/consts"
"github.com/kataras/iris/v12"
)
type AlternativeCase struct {
Key string `json:"key"`
Title string `json:"title"`
Desc string `json:"desc"`
IsDir bool `json:"isDir"`
Path string `json:"path"`
FieldRequired bool `json:"fieldRequired"`
FieldType OasFieldType `json:"fieldType"`
Sample interface{} `json:"sample"`
Category consts.AlternativeCaseCategories `json:"category"`
Type consts.AlternativeCaseTypes `json:"type"`
Rule consts.AlternativeCaseRules `json:"rule"`
ParentId int `json:"parentId"`
BaseCaseId uint `json:"baseCaseId"`
Ordr int `json:"ordr"`
Children []*AlternativeCase `json:"children"`
Slots iris.Map `json:"slots"`
NeedExec bool `json:"needExec"`
}