17 lines
164 B
Go
17 lines
164 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
|
|
}
|