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

import "hilo-user/domain/model"

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

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

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