fin-check-api/db/income.go

19 lines
193 B
Go

package db
import (
"time"
"gorm.io/gorm"
)
type Income struct {
gorm.Model
CardID uint
Card *Card
Value uint64
Comment string
Date time.Time
UserID uint
User *User
}