Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchRentPayment ¶
type BranchRentPayment struct { gorm.Model BranchRentPaymentsID uint64 BranchRentPayments BranchRentPayments `gorm:"foreignKey:BranchRentPaymentsID"` PaymentID uint64 Payment Payment `gorm:"foreignKey:PaymentID"` }
BranchRentPayment is the PostgreSQL branch rent payment model
type BranchRentPayments ¶
BranchRentPayments is the PostgreSQL branch rent payments model
type OrderPayment ¶
type OrderPayment struct { gorm.Model OrderPaymentsID uint64 OrderPayments OrderPayments `gorm:"foreignKey:OrderPaymentsID"` PaymentID uint64 Payment Payment `gorm:"foreignKey:PaymentID"` }
OrderPayment is the PostgreSQL order payment model
type OrderPayments ¶
OrderPayments is the PostgreSQL order payments model
type Payment ¶
type Payment struct { gorm.Model PaymentAccountID uint64 PaymentAccount PaymentAccount `gorm:"foreignKey:PaymentAccountID"` Amount float64 PaymentDate time.Time RefundedAt sql.NullTime VerifiedByUserID sql.NullInt64 VerifiedByUser User `gorm:"foreignKey:VerifiedByUserID"` }
Payment is the PostgreSQL payment model
type PaymentAccount ¶
type PaymentAccount struct { gorm.Model BranchIDHex sql.NullString AccountPlatform string AccountNumber sql.NullString AccountName sql.NullString AccountEmail sql.NullString AccountPhoneNumber sql.NullString IsActive bool }
PaymentAccount is the PostgreSQL payment account model
Click to show internal directories.
Click to hide internal directories.