sprechstunden-go/models/room.go
2022-11-04 21:17:00 +01:00

13 lines
217 B
Go

package models
type Room struct {
Id int
Name string
MaxOccupy int
}
type RoomRepository interface {
FindByName(name string) (Room, error)
GetAll() ([]Room, error)
FindById(id int) (Room, error)
}