Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { // ID ID string // Name Name string // 階層 Level CategoryLevel // 表示順 DisplayOrder int // 親CategoryID ParentID string }
Category represents 項目 and its 階層
type CategoryLevel ¶
type CategoryLevel int
CategoryLevel represents category hierarchy level.
const ( // CategoryLevel1 is the top level category. CategoryLevel1 CategoryLevel = iota + 1 // CategoryLevel2 is the second level category. CategoryLevel2 )
type MoneyForwardRecord ¶
type MoneyForwardRecord struct { // ID ID string // 計算対象 IsCalculationTarget bool // 日付 RecordedOn time.Time // 内容 Title string // 金額(円) Amount int // 保有金融機関 SourceName string // 保有金融機関ID SourceID string // 大項目 Category1Name string // 大項目ID Category1ID string // 中項目 Category2Name string // 中項目ID Category2ID string // メモ Memo string // 振替 IsTransfer bool }
func (*MoneyForwardRecord) IsRecordToSave ¶
func (r *MoneyForwardRecord) IsRecordToSave() bool
IsRecordToSave returns true if it is a record to save.
Click to show internal directories.
Click to hide internal directories.