|
|
@@ -3,17 +3,17 @@ package datamodel
|
|
|
import "time"
|
|
|
|
|
|
type Api struct {
|
|
|
- ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('Api ID') "`
|
|
|
- ApiMethod int64 `json:"apiMethod" xorm:"'api_method' bigint comment('Api Method') "`
|
|
|
- ApiType int64 `json:"apiType" xorm:"'api_type' bigint comment('Api Type') "`
|
|
|
- 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('描述') "`
|
|
|
- BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz Id') "`
|
|
|
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object Id') "`
|
|
|
- OamId int64 `json:"oamId" xorm:"'oam_id' bigint comment('Oam Id') "`
|
|
|
+ ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('Api ID') "`
|
|
|
+ ApiMethod int64 `json:"apiMethod" xorm:"'api_method' bigint comment('Api Method') "`
|
|
|
+ ApiType int64 `json:"apiType" xorm:"'api_type' bigint comment('Api Type') "`
|
|
|
+ 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('描述') "`
|
|
|
+ BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz Id') "`
|
|
|
+ ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object Id') "`
|
|
|
+ OamId int64 `json:"oamId" xorm:"'oam_id' bigint comment('Oam Id') "`
|
|
|
CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
|
|
|
CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
|
|
|
UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
|