nginx-proxy-manager/backend/internal/entity/capability.go

12 lines
265 B
Go
Raw Normal View History

package entity
// Capability is the db model
type Capability struct {
Name string `json:"name" gorm:"column:name;primaryKey" filter:"name,string"`
}
// TableName overrides the table name used by gorm
func (Capability) TableName() string {
return "capability"
}