package model

// TemplateGenerationType is the model class what represents template generation
type TemplateGenerationType struct {
	TemplateGeneration
}

// NewTemplateGenerationType creates a template generation model instance
func NewTemplateGenerationType() *TemplateGenerationType {
	return &TemplateGenerationType{}
}

// GetContainerForMigration returns its container for migration, if no need to be migrated, just return null
func (receiver *TemplateGenerationType) GetContainerForMigration() (interface{}, error) {
	return nil, nil
}

package model

import "github.com/qb0C80aE/clay/extension"

// TemplateGenerationType is the model class what represents template generation
type TemplateGenerationType struct {
	TemplateGeneration
}

// NewTemplateGenerationType creates a template generation model instance
func NewTemplateGenerationType() *TemplateGenerationType {
	return &TemplateGenerationType{}
}

// GetContainerForMigration returns its container for migration, if no need to be migrated, just return null
func (receiver *TemplateGenerationType) GetContainerForMigration() (interface{}, error) {
	return nil, nil
}

func init() {
	extension.RegisterModel(NewTemplateGenerationType())
}

Fix template generation type model to register its model
Fix template generation type model to register its model
