1234567891011121314151617181920212223242526 |
- package models
- import (
- model2 "Medical_ERP/common/model"
- coreModel "gogs.baozhida.cn/zoie/OAuth-core/model"
- )
- type RoleApi struct {
- model2.Model
- coreModel.BeegoApi
- model2.ModelTime `swaggerignore:"true"`
- model2.ControlBy `swaggerignore:"true"`
- }
- func (e *RoleApi) TableName() string {
- return "role_api"
- }
- func (e *RoleApi) Generate() model2.ActiveRecord {
- o := *e
- return &o
- }
- func (e *RoleApi) GetId() interface{} {
- return e.Id
- }
|