abtest.go 269 B

123456789101112131415
  1. package abtest
  2. import (
  3. resource "go-common/app/service/main/resource/model"
  4. )
  5. type List struct {
  6. ID int64 `json:"group_id,lomitempty"`
  7. Name string `json:"group_name,omitempty"`
  8. }
  9. func (l *List) ListChange(r *resource.AbTest) {
  10. l.ID = r.ID
  11. l.Name = r.Name
  12. }