|
@@ -3,21 +3,21 @@ package viewmodel
|
|
|
import "encoding/json"
|
|
import "encoding/json"
|
|
|
|
|
|
|
|
type ApiInfo struct {
|
|
type ApiInfo struct {
|
|
|
- BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz Id') "`
|
|
|
|
|
- BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(127) comment('Biz Title') "`
|
|
|
|
|
- ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('Api ID') "`
|
|
|
|
|
- ApiType int64 `json:"apiType" xorm:"'api_type' bigint comment('Api Type') "`
|
|
|
|
|
- ApiMethod int64 `json:"apiMethod" xorm:"'api_method' bigint comment('Api Method')"`
|
|
|
|
|
- ApiTitle string `json:"apiTitle" xorm:"'api_title' varchar(127) comment('名称') "`
|
|
|
|
|
- ApiCode string `json:"apiCode" xorm:"'api_code' varchar(127) comment('编码') "`
|
|
|
|
|
- ApiParams string `json:"apiParams" xorm:"'api_params' varchar(127) comment('Param') "`
|
|
|
|
|
- Status int64 `json:"status" xorm:"'status' bigint comment('Status') "`
|
|
|
|
|
- ApiDesc string `json:"apiDesc" xorm:"'api_desc' varchar(50) comment('描述') "`
|
|
|
|
|
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object Id') "`
|
|
|
|
|
- ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
|
|
|
|
|
- ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
|
|
|
|
|
- ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
|
|
|
|
|
- OamId int64 `json:"oamId" xorm:"'oam_id' bigint comment('Oam Id') "`
|
|
|
|
|
|
|
+ BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz Id') "`
|
|
|
|
|
+ BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(127) comment('Biz Title') "`
|
|
|
|
|
+ ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('Api ID') "`
|
|
|
|
|
+ ApiType int64 `json:"apiType" xorm:"'api_type' bigint comment('Api Type') "`
|
|
|
|
|
+ ApiMethod int64 `json:"apiMethod" xorm:"'api_method' bigint comment('Api Method') "`
|
|
|
|
|
+ ApiTitle string `json:"apiTitle" xorm:"'api_title' varchar(127) comment('名称') "`
|
|
|
|
|
+ ApiCode string `json:"apiCode" xorm:"'api_code' varchar(127) comment('编码') "`
|
|
|
|
|
+ ApiParams string `json:"apiParams" xorm:"'api_params' varchar(127) comment('Param') "`
|
|
|
|
|
+ Status int64 `json:"status" xorm:"'status' bigint comment('Status') "`
|
|
|
|
|
+ ApiDesc string `json:"apiDesc" xorm:"'api_desc' varchar(50) comment('描述') "`
|
|
|
|
|
+ ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object Id') "`
|
|
|
|
|
+ ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
|
|
|
|
|
+ ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
|
|
|
|
|
+ ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
|
|
|
|
|
+ OamId int64 `json:"oamId" xorm:"'oam_id' bigint comment('Oam Id') "`
|
|
|
OamTitle string `json:"oamTitle" xorm:"'oam_title' varchar(127) comment('OAMTitle') "`
|
|
OamTitle string `json:"oamTitle" xorm:"'oam_title' varchar(127) comment('OAMTitle') "`
|
|
|
OamCode string `json:"oamCode" xorm:"'oam_code' varchar(127) comment('OAMCode') "`
|
|
OamCode string `json:"oamCode" xorm:"'oam_code' varchar(127) comment('OAMCode') "`
|
|
|
OamType int64 `json:"oamType" xorm:"'oam_type' bigint comment('Oam Type') "`
|
|
OamType int64 `json:"oamType" xorm:"'oam_type' bigint comment('Oam Type') "`
|