| 1234567891011121314151617181920 |
- package viewmodels
- import "time"
- type ApiReqInfo struct {
- OcId int64 `json:"ocId" xorm:"'oc_id' bigint comment('OcId') "`
- AccountId int64 `json:"accountId" xorm:"'account_id' bigint comment('AccountId') "`
- AppId int64 `json:"appId" xorm:"'app_id' bigint comment('AppId') "`
- AppTitle string `json:"appTitle" xorm:"'app_title' varchar(127) comment('AppTitle') "`
- ApiId int64 `json:"apiId" xorm:"'api_id' bigint comment('ApiId') "`
- ApiTitle string `json:"apiTitle" xorm:"'api_title' varchar(127) comment('ApiTitle') "`
- ReqId int64 `json:"reqId" xorm:"'req_id' bigint pk comment('ReqId') "`
- ReqParams string `json:"reqParams" xorm:"'req_params' varchar(127) comment('Param') "`
- ReqData string `json:"reqData" xorm:"'req_data' varchar(2047) comment('Status') "`
- ReqTime time.Time `json:"reqTime" xorm:"'req_time' datetime comment('ReqTime') "`
- }
- func (t *ApiReqInfo) TableName() string {
- return "ps_api_req"
- }
|