Files
lndhub.go/database/models/invoice.go
Viktor Patchev da7701214e Add models
2022-01-05 19:29:47 +01:00

21 lines
456 B
Go

package models
import "time"
// Invoice : Invoice Model
type Invoice struct {
ID uint `gorm:"primary_key"`
Type string
UserID uint
TransactionEntryID uint
Amount int64
Memo string
DescriptionHash string
PaymentRequest string
RHash string
State string
CreatedAt time.Time
UpdatedAt time.Time
SettledAt time.Time
}