fin-check-api/db/debt.go
2024-08-02 00:02:55 +03:00

19 lines
210 B
Go

package db
import (
"time"
"gorm.io/gorm"
)
type Debt struct {
gorm.Model
AccountID uint
Account *Account
Value uint64
IOwe bool
Date time.Time
DateEnd time.Time
Finished bool
}