contracts/base/res_listener.go

14 lines
372 B
Go

package base
type ResListener struct {
Uuid string `db:"uuid"`
Code string `db:"code"`
Name string `db:"name"`
ResourceUuid string `db:"resource_uuid"`
Event []any `db:"event"`
UpdatedAt string `db:"updated_at"`
CreatedAt string `db:"created_at"`
}
type GetResListens func(categoryUuid string, event ...string) []ResListener