func NewDesign() *Design {
	return &Design{}
}
NewDesign creates a design model instance
package model
import (
	"fmt"
	"github.com/gin-gonic/gin"
	"github.com/jinzhu/gorm"
	"github.com/qb0C80aE/clay/extension"
	"github.com/qb0C80aE/clay/logging"
	mapstructutilpkg "github.com/qb0C80aE/clay/util/mapstruct"
	"net/url"
	"reflect"
	"sort"
	"time"
)
type sqliteMaster struct {
	Name     string `json:"name" yaml:"name"`
	SQL      string `json:"sql" yaml:"sql"`
	Type     string `json:"type" yaml:"type"`
	Rootpage int    `json:"rootpage" yaml:"rootpage"`
}
type Design struct {
	Base
	ClayVersion   string                 `json:"clay_version,omitempty" yaml:"clay_version,omitempty"`
	GeneratedDate string                 `json:"generated_date,omitempty" yaml:"generated_date,omitempty"`
	Content       map[string]interface{} `json:"content" yaml:"content"`
}