sprechstunden-go/models/room.go

14 lines
217 B
Go
Raw Normal View History

2022-08-29 20:58:19 +00:00
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)
}