19 lines
485 B
Go
19 lines
485 B
Go
package expense
|
|
|
|
import "time"
|
|
|
|
type Expense struct {
|
|
ExpenseEditable
|
|
AccountId string `json:"accountId,omitempty"`
|
|
}
|
|
|
|
type ExpenseEditable struct {
|
|
ID string `json:"id,omitempty"`
|
|
Value float32 `json:"value"`
|
|
Libelle string `json:"libelle"`
|
|
TypeExpense string `json:"typeExpense"`
|
|
ExpenseDate time.Time `json:"expenseDate,omitempty"`
|
|
CreatedAt *time.Time `json:"createdAt,omitempty"`
|
|
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
|
|
}
|