feat(expense): starting expense handle
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
package expense
|
||||
|
||||
type Account struct {
|
||||
import "time"
|
||||
|
||||
type Expense struct {
|
||||
ExpenseEditable
|
||||
AccountId string `json:"accountId,omitempty"`
|
||||
}
|
||||
|
||||
type ExpenseEditable struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
Value float32 `json:"value"`
|
||||
TypeExpense string `json:"typeExpense"`
|
||||
ExpenseDate time.Time `json:"expenseDate,omitempty"`
|
||||
CreatedAt *time.Time `json:"createdAt,omitempty"`
|
||||
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user