repo.go 418 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
package user_m

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

func (userHeadwear *UserHeadwear) Persistent() error {
	return domain.Persistent(userHeadwear.Db, userHeadwear)
}

func (userProperty *UserProperty) Persistent() error {
	return domain.Persistent(userProperty.Db, userProperty)
}

func (userPropertyLog *UserPropertyLog) Persistent() error {
	return domain.Persistent(userPropertyLog.Db, userPropertyLog)
}