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
268 B
Go

package model
import (
"joybuywork/internal/plugins/jsonm"
)
func (m *FissionUser) SetParentIds(val []int64) {
m.ParentIds, _ = jsonm.MarshalToString(val)
}
func (m *FissionUser) GetParentIds() (val []int64) {
_ = jsonm.StrUnmarshal(m.ParentIds, &val)
return
}