gomvn/database/models.go

33 lines
692 B
Go
Raw Permalink Normal View History

2024-03-04 13:11:06 +00:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.25.0
package database
2024-03-15 15:13:09 +00:00
import (
"database/sql"
"time"
)
type Artifact struct {
MvnGroup string `json:"mvn_group"`
Artifact string `json:"artifact"`
Version string `json:"version"`
Modified time.Time `json:"modified"`
}
type Path struct {
UserID sql.NullInt64 `json:"user_id"`
Path string `json:"path"`
Deploy sql.NullInt64 `json:"deploy"`
CreatedAt sql.NullTime `json:"created_at"`
UpdatedAt sql.NullTime `json:"updated_at"`
}
2024-03-04 13:11:06 +00:00
type User struct {
2024-03-04 18:50:13 +00:00
ID int64 `json:"id"`
Name string `json:"name"`
Admin bool `json:"admin"`
TokenHash string `json:"token_hash"`
2024-03-04 13:11:06 +00:00
}