审查视图

pkg/application/evaluation_rule/adapter/rule_adapter.go 352 字节
1 2 3 4 5 6 7 8 9 10
package adapter

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

type RuleAdapter struct {
	*domain.EvaluationRule
	CreatorName string `json:"creatorName" comment:"创建人名称"`
}
郑周 authored
11 12 13 14 15

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