11 lines
197 B
Go
11 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,
|
||
|
}
|
||
|
}
|