Add ingredieints
This commit is contained in:
@@ -13,6 +13,7 @@ type Unit struct {
|
||||
Name string `json:"name"`
|
||||
Abbreviation *string `json:"abbreviation"`
|
||||
IsActive bool `json:"is_active"`
|
||||
DeletedAt *time.Time `json:"deleted_at,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
@@ -39,6 +40,7 @@ type UnitResponse struct {
|
||||
Name string `json:"name"`
|
||||
Abbreviation *string `json:"abbreviation"`
|
||||
IsActive bool `json:"is_active"`
|
||||
DeletedAt *time.Time `json:"deleted_at,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user