34 lines
933 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.29.0
package repository
import (
"time"
)
type AppUser struct {
UserName string `db:"user_name" json:"userName"`
UserPass *string `db:"user_pass" json:"userPass"`
Realname *string `db:"realname" json:"realname"`
Email *string `db:"email" json:"email"`
}
type News struct {
ID int64 `db:"id" json:"id"`
NewsTitle string `db:"news_title" json:"newsTitle"`
NewsText string `db:"news_text" json:"newsText"`
NewsDate *time.Time `db:"news_date" json:"newsDate"`
NewsPublish *time.Time `db:"news_publish" json:"newsPublish"`
Display int64 `db:"display" json:"display"`
}
type Retailer struct {
ID int64 `db:"id" json:"id"`
Shopname string `db:"shopname" json:"shopname"`
Url string `db:"url" json:"url"`
Country string `db:"country" json:"country"`
Display int64 `db:"display" json:"display"`
}