go-common/app/interface/main/app-resource/model/abtest/abtest.go

16 lines
269 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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
}