20 lines
450 B
Go
20 lines
450 B
Go
package model
|
|
|
|
const (
|
|
paymentsCollection = "payments"
|
|
telegramConfirmationsCollection = "telegram_confirmations"
|
|
pendingConfirmationsCollection = "pending_confirmations"
|
|
)
|
|
|
|
func (*PaymentRecord) Collection() string {
|
|
return paymentsCollection
|
|
}
|
|
|
|
func (*TelegramConfirmation) Collection() string {
|
|
return telegramConfirmationsCollection
|
|
}
|
|
|
|
func (*PendingConfirmation) Collection() string {
|
|
return pendingConfirmationsCollection
|
|
}
|