lockserver/db/lock_code_slots.go

10 lines
197 B
Go

package db
import "git.janky.solutions/finn/lockserver/openapi"
func (l LockCodeSlot) OpenAPI() openapi.LockCodeSlot {
return openapi.LockCodeSlot{
Code: l.Code,
Enabled: l.Enabled,
}
}