45 lines
1.1 KiB
Go
45 lines
1.1 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
)
|
|
|
|
type Category struct {
|
|
ID int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
Description sql.NullString `json:"description"`
|
|
CreatedBy string `json:"created_by"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
}
|
|
|
|
type Session struct {
|
|
Key []byte `json:"key"`
|
|
UserID string `json:"user_id"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
}
|
|
|
|
type Task struct {
|
|
ID int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
Description sql.NullString `json:"description"`
|
|
Completed int64 `json:"completed"`
|
|
CreatedBy string `json:"created_by"`
|
|
AssignedTo string `json:"assigned_to"`
|
|
CreatedAt int64 `json:"created_at"`
|
|
Deadline sql.NullInt64 `json:"deadline"`
|
|
}
|
|
|
|
type TaskCategory struct {
|
|
TaskID int64 `json:"task_id"`
|
|
CategoryID int64 `json:"category_id"`
|
|
}
|
|
|
|
type User struct {
|
|
ID string `json:"id"`
|
|
Username string `json:"username"`
|
|
Password []byte `json:"password"`
|
|
}
|