rule_adapter.go 352 字节
package adapter

import (
	"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
)

type RuleAdapter struct {
	*domain.EvaluationRule
	CreatorName string `json:"creatorName" comment:"创建人名称"`
}

type CreatorAdapter struct {
	Id   int64  `json:"id,string" comment:"创建人ID"`
	Name string `json:"name" comment:"创建人名称"`
}