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.
16 lines
365 B
Go
16 lines
365 B
Go
package model
|
|
|
|
import (
|
|
"joybuywork/internal/plugins/jsonm"
|
|
"joybuywork/internal/repository/mtype"
|
|
)
|
|
|
|
func (m *FissionUserDylink) SetParams(params *mtype.FissionUserDyLinkParams) {
|
|
m.Params, _ = jsonm.MarshalToString(params)
|
|
}
|
|
|
|
func (m *FissionUserDylink) GetParams() (params mtype.FissionUserDyLinkParams) {
|
|
_ = jsonm.StrUnmarshal(m.Params, ¶ms)
|
|
return
|
|
}
|