DomainBaseFields
This commit is contained in:
@@ -5,14 +5,12 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Domain struct {
|
type Domain struct {
|
||||||
Context Context
|
konstructor.DomainBaseFields
|
||||||
MenuMap konstructor.MenuMap
|
Context Context
|
||||||
DialogMap konstructor.DialogMap
|
|
||||||
Levels []konstructor.Level
|
|
||||||
ObjectTypeMap konstructor.ObjectTypeMap
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Domain) Init() {
|
func (d *Domain) Init() {
|
||||||
|
d.InitObjectType()
|
||||||
d.InitMenu()
|
d.InitMenu()
|
||||||
d.InitDialog()
|
d.InitDialog()
|
||||||
d.InitLevel()
|
d.InitLevel()
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
package konstructor
|
package konstructor
|
||||||
|
|
||||||
|
type DomainBaseFields struct {
|
||||||
|
MenuMap MenuMap
|
||||||
|
DialogMap DialogMap
|
||||||
|
Levels []Level
|
||||||
|
ObjectTypeMap ObjectTypeMap
|
||||||
|
}
|
||||||
|
|
||||||
type DomainInterface interface {
|
type DomainInterface interface {
|
||||||
Init()
|
Init()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user