Discover Packages
github.com/s-min-sys/lifecostbe
internal
model
package
Version:
v0.0.0-...-441fd9a
Opens a new window with list of versions in this module.
Published: Dec 29, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
const (
CostDirInGroup CostDir = iota + 1
CostDirIn
CostDirOut
)
type DeletedGroupBill struct {
GroupBill `json:",inline"`
DeletedAt time .Time `json:"deletedAt"`
}
type Group struct {
ID uint64 `json:"id"`
Name string `json:"name"`
MemberPersonIDs []uint64 `json:"memberPersonIDs"`
AdminPersonIDs []uint64 `json:"adminPersonIDs"`
}
type GroupBill struct {
ID string `json:"id"`
FromSubWalletID uint64 `json:"fromSubWalletID"`
ToSubWalletID uint64 `json:"toSubWalletID"`
CostDir CostDir `json:"coastDir"`
Amount int `json:"amount"`
LabelIDs []uint64 `json:"labelIDs"`
LossAmount int `json:"lossAmount"`
LossWalletID uint64 `json:"lossWalletID"`
At int64 `json:"at"`
OperationPersonID uint64 `json:"operationPersonID"`
}
type Label struct {
ID uint64 `json:"id"`
Name string `json:"name"`
}
type Person struct {
ID uint64 `json:"id"`
Name string `json:"name"`
Groups []uint64 `json:"groups"`
SubWalletIDs []uint64 `json:"subWalletIDs"`
}
type Wallet struct {
ID uint64 `json:"id"`
Name string `json:"name"`
PersonID uint64 `json:"personID"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.