go-common/app/interface/main/app-resource/model/abtest/abtest.go
2019-04-22 18:49:16 +08:00

16 lines
269 B
Go

package abtest
import (
resource "go-common/app/service/main/resource/model"
)
type List struct {
ID int64 `json:"group_id,lomitempty"`
Name string `json:"group_name,omitempty"`
}
func (l *List) ListChange(r *resource.AbTest) {
l.ID = r.ID
l.Name = r.Name
}