Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Invoice ¶
type Invoice struct { ID int `db:"id" json:"id"` UserId int `db:"user_id" json:"-"` InvoiceType string `db:"invoice_type" json:"invoiceType"` InvoiceNumber string `db:"invoice_number" json:"invoiceNumber"` OrderName string `db:"order_name" json:"orderName"` IssueDate time.Time `db:"issue_date" json:"issueDate"` PaymentStatus string `db:"payment_status" json:"paymentStatus"` IsArchived bool `db:"is_archived" json:"-"` CreatedAt time.Time `db:"created_at" json:"createdAt"` UpdatedAt time.Time `db:"updated_at" json:"updatedAt"` }
type User ¶
type User struct { ID int `db:"id" json:"id"` FirstName string `db:"first_name" json:"firstName"` LastName string `db:"last_name" json:"lastName"` Email string `db:"email" json:"email"` Password string `db:"password" json:"-"` PasswordHash string `db:"password_hash" json:"-"` IsActive bool `db:"is_active" json:"isActive"` IsAdmin bool `db:"is_admin" json:"isAdmin"` CreatedAt time.Time `db:"created_at" json:"createdAt"` UpdatedAt time.Time `db:"updated_at" json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.