2024-04-09 04:25:36 +00:00
|
|
|
// Code generated by sqlc. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// sqlc v1.20.0
|
|
|
|
|
|
|
|
package db
|
|
|
|
|
|
|
|
import (
|
|
|
|
"database/sql"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
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 {
|
|
|
|
Lock int64
|
|
|
|
Timestamp time.Time
|
|
|
|
State string
|
|
|
|
Code sql.NullInt64
|
|
|
|
}
|
2024-04-24 00:34:57 +00:00
|
|
|
|
|
|
|
type User struct {
|
|
|
|
ID int64
|
|
|
|
Name string
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserCode struct {
|
|
|
|
ID int64
|
|
|
|
User sql.NullInt64
|
|
|
|
Name sql.NullString
|
|
|
|
Code string
|
|
|
|
Start sql.NullTime
|
|
|
|
End sql.NullTime
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserCodeSlot struct {
|
|
|
|
UserCode interface{}
|
|
|
|
Lock interface{}
|
|
|
|
Slot interface{}
|
|
|
|
}
|