mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-11-05 15:31:49 +08:00
17 lines
204 B
Go
17 lines
204 B
Go
package models
|
|
|
|
import (
|
|
"github.com/jinzhu/gorm"
|
|
)
|
|
|
|
type Resourcer interface {
|
|
DB() *gorm.DB
|
|
TableName() string
|
|
Model() interface{}
|
|
Models() interface{}
|
|
}
|
|
|
|
type Modeler interface {
|
|
UUID() string
|
|
}
|