package domain import "context" type TenantRepository interface { Create(ctx context.Context, tenant *Tenant) error FindByID(ctx context.Context, id string) (*Tenant, error) FindBySlug(ctx context.Context, slug string) (*Tenant, error) FindAll(ctx context.Context) ([]Tenant, error) Update(ctx context.Context, tenant *Tenant) error Delete(ctx context.Context, id string) error }