// Code generated by sqlc. DO NOT EDIT.
// versions:
//   sqlc v1.27.0

package sqlite

import (
	"time"
)

type Heartbeat struct {
	Identifier int64      `db:"id" json:"id"`
	User       int64      `db:"user" json:"user"`
	CreatedAt  *time.Time `db:"created_at" json:"created_at"`
	IpAddr     string     `db:"ip_addr" json:"ip_addr"`
	AuthToken  string     `db:"auth_token" json:"auth_token"`
}

type Organization struct {
	Identifier int64      `db:"id" json:"id"`
	Name       string     `db:"name" json:"name"`
	OwnerName  string     `db:"owner_name" json:"owner_name"`
	OwnerPhone string     `db:"owner_phone" json:"owner_phone"`
	OwnerEmail string     `db:"owner_email" json:"owner_email"`
	CreatedAt  *time.Time `db:"created_at" json:"created_at"`
	DeletedAt  *time.Time `db:"deleted_at" json:"deleted_at"`
	Authorized int64      `db:"authorized" json:"authorized"`
	AuthToken  string     `db:"auth_token" json:"auth_token"`
}

type User struct {
	Identifier   int64  `db:"id" json:"id"`
	Username     string `db:"username" json:"username"`
	Password     string `db:"password" json:"password"`
	Name         string `db:"name" json:"name"`
	Email        string `db:"email" json:"email"`
	AuthToken    string `db:"auth_token" json:"auth_token"`
	Authorized   int64  `db:"authorized" json:"authorized"`
	Admin        int64  `db:"admin" json:"admin"`
	Organization int64  `db:"organization" json:"organization"`
}
