- package viewmodels
- type ApiInfo struct {
- ModId int64 `json:"modId" xorm:"'mod_id' bigint pk comment('主键ID') "`
- ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('主键ID') "`
- 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('描述') "`
- }
- func (t *ApiInfo) TableName() string {
- return "ps_api"
- }
|