diff --git a/db/transfer.go b/db/transfer.go new file mode 100644 index 0000000..abdc03d --- /dev/null +++ b/db/transfer.go @@ -0,0 +1,12 @@ +package db + +import "gorm.io/gorm" + +type Transfer struct { + gorm.Model + FromCardID uint + FromCard *Card + ToCardID uint + ToCard *Card + Value uint64 +}