You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
274 B
Go

package model
import (
"joybuywork/internal/plugins/jsonm"
)
func (s *ProjectUserCoinUse) SetCoinIds(val []int64) {
s.CoinIds, _ = jsonm.MarshalToString(val)
}
func (s *ProjectUserCoinUse) GetCoinIds() (val []int64) {
_ = jsonm.StrUnmarshal(s.CoinIds, &val)
return
}