lockserver/db/models.go

48 lines
683 B
Go
Raw Permalink Normal View History

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.20.0
package db
import (
"database/sql"
"time"
)
2024-11-23 03:50:18 +00:00
type IssuedCode struct {
ID int64
Name sql.NullString
Code string
Start sql.NullTime
End sql.NullTime
}
type IssuedCodeSlot struct {
IssuedCode interface{}
Lock interface{}
Slot interface{}
}
type Lock struct {
ID int64
Name string
ZwaveDeviceID int64
}
type LockCodeSlot struct {
ID int64
Lock int64
Code string
Slot int64
Name string
Enabled bool
}
type LockLog struct {
2024-11-23 03:50:18 +00:00
Lock int64
Timestamp time.Time
State string
Code sql.NullInt64
IssuedCode sql.NullInt64
}