chore: initial commit of HouseholdBudgetBook (backend, frontend, desktop)
This commit is contained in:
commit
4a5db3f1f9
167 files changed
+21732
No files matched your search
@@ -0,0 +1,25 @@
|
||||
package model
|
||||
|
||||
type Member struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Relation string `json:"relation"`
|
||||
Birthday string `json:"birthday"`
|
||||
Phone string `json:"phone"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type CreateMemberRequest struct {
|
||||
Name string `json:"name"`
|
||||
Relation string `json:"relation"`
|
||||
Birthday string `json:"birthday"`
|
||||
Phone string `json:"phone"`
|
||||
}
|
||||
|
||||
type UpdateMemberRequest struct {
|
||||
Name *string `json:"name,omitempty"`
|
||||
Relation *string `json:"relation,omitempty"`
|
||||
Birthday *string `json:"birthday,omitempty"`
|
||||
Phone *string `json:"phone,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user