Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { ID int64 `json:"id,omitempty" db:"id"` Name string `json:"name,omitempty" db:"name"` Members []*user.Member `json:"members,omitempty" db:"members"` History []*Record `json:"history,omitempty" db:"history"` CreatedAt int64 `json:"created_at,omitempty" db:"created_at"` }
Activity declare an activity information
type Record ¶ added in v0.1.3
type Record struct { ID int64 `json:"id" db:"id"` Activity *Activity `json:"activity,omitempty" db:"activity"` Remark string `json:"remark,omitempty" db:"remark"` Payer *user.Member `json:"payer,omitempty" db:"payer"` Members []*user.Member `json:"members,omitempty" db:"members"` Total int `json:"total" db:"total"` CreatedAt int64 `json:"created_at" db:"created_at"` }
Record declare a cost record information
Click to show internal directories.
Click to hide internal directories.