~mendelmaleh/pfin

ref: 80671e909d8fb0ee84802ff7f59991dbc8d92201 pfin/parser/personal/types.go -rw-r--r-- 388 bytes
80671e90Mendel E Fix date spacing hack a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package personal

import "git.sr.ht/~mendelmaleh/pfin/parser/util"

type Transaction struct {
	Fields // computed fields
	Raw    // csv fields
}

type Fields struct {
	User    string
	Account string
}

type Raw struct {
	Date        util.DateISO `csv:"date"`
	Amount      float64      `csv:"amount"`
	Media       string       `csv:"media"`
	Description string       `csv:"description"`
}