adding revenue

This commit is contained in:
samantha42
2026-03-24 11:37:45 +01:00
parent bea8582282
commit 33b100f325
5 changed files with 176 additions and 24 deletions

View File

@@ -1,11 +1,5 @@
package model
type Currency struct {
ID int
Code string
Name string
}
type Company struct {
ID int
Name string
@@ -21,8 +15,3 @@ type CompanyInput struct {
Price float64 `json:"price"`
CurrencyID int `json:"currency_id"`
}
type CurrencyInput struct {
Code string `json:"code"`
Name string `json:"name"`
}