fin-check-api/db/transfer.go

20 lines
232 B
Go
Raw Normal View History

2024-08-03 07:15:02 +02:00
package db
2024-08-03 14:50:22 +02:00
import (
"time"
"gorm.io/gorm"
)
2024-08-03 07:15:02 +02:00
type Transfer struct {
gorm.Model
FromCardID uint
FromCard *Card
ToCardID uint
ToCard *Card
Value uint64
2024-08-03 14:50:22 +02:00
Date time.Time
UserID uint
User *User
2024-08-03 07:15:02 +02:00
}