mirror of
https://github.com/getAlby/lndhub.go.git
synced 2026-01-17 03:45:53 +01:00
21 lines
456 B
Go
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
|
|
}
|