func (m *Model) SetSaving(saving bool) {
	m.saving = saving
}
SetSaving sets the saving status of the model.
This is an internal function, even though it is exposed for the concrete
kallax generated code to use. Please, don't use it, and if you do,
bad things may happen.
package kallax
import (
	"bytes"
	"crypto/rand"
	"database/sql"
	"database/sql/driver"
	"encoding/hex"
	"fmt"
	"time"
	"github.com/gofrs/uuid"
	"github.com/oklog/ulid"
)
type Model struct {
	virtualColumns map[string]Identifier
	persisted      bool
	writable       bool
	saving         bool
}
func NewModel() Model {
	return Model{
		persisted:      false,
		writable:       true,
		virtualColumns: make(map[string]Identifier),
		saving:         false,
	}
}
func (m *Model) IsPersisted() bool {
	return m.persisted
}
func (m *Model) setPersisted() {
	m.persisted = true
}
func (m *Model) IsWritable() bool {
	return m.writable
}
func (m *Model) setWritable(w bool) {
	m.writable = w
}
func (m *Model) IsSaving() bool {
	return m.saving
}