Files
online-backend/internal/payment/paymentsettings/dto.go
GuwandykA 87e4b33322
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
rm -rf amount in db
2026-09-19 12:16:24 +05:00

23 lines
791 B
Go

package paymentsettings
import "time"
type PaymentSettingsDTO struct {
BankFeeTmt float64 `json:"bankFeeTmt"`
GbusFeeTmt float64 `json:"gbusFeeTmt"`
SberBankFeeTmt float64 `json:"sberBankFeeTmt"`
TvebFeeUsd float64 `json:"tvebFeeUsd"`
MaxAmountUsd float64 `json:"maxAmountUsd"`
UpdatedById *int64 `json:"-"`
UpdatedAt time.Time `json:"updatedAt"`
}
type UpdatePaymentSettingsDTO struct {
BankFeeTmt float64 `json:"bankFeeTmt" binding:"required"`
GbusFeeTmt float64 `json:"gbusFeeTmt" binding:"required"`
SberBankFeeTmt float64 `json:"sberBankFeeTmt" binding:"required"`
TvebFeeUsd float64 `json:"tvebFeeUsd" binding:"required"`
MaxAmountUsd float64 `json:"maxAmountUsd" binding:"required"`
UpdatedBy *int64 `json:"-"`
}