adding revenue
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user