repo.go 179 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10
package cp_m

import (
	"git.hilo.cn/hilo-common/domain"
	"hilo-user/domain/model"
)

func (p *CpLevel) Persistence(m *domain.Model) error {
	return model.Persistent(m.DB(), p)
}