审查视图

pkg/domain/partner_category.go 324 字节
唐旭辉 authored
1 2 3 4 5 6 7
package domain

// 合伙人分类信息
type PartnerCategory struct {
	// 唯一标识
	Id int64 `json:"id"`
	// 名称
唐旭辉 authored
8
	Name string `json:"name,omitempty"`
唐旭辉 authored
9 10 11 12 13 14 15 16
}

type PartnerCategoryFindQuery struct {
	Ids []int64
}
type PartnerCategoryRepository interface {
	Find(PartnerCategoryFindQuery) (int, []PartnerCategory, error)
}