feat: add component_codes management functionality
This commit is contained in:
13
internal/models/responses/component_code_response.go
Normal file
13
internal/models/responses/component_code_response.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package responses
|
||||
|
||||
type CreateComponentCodeResponse struct {
|
||||
ID int64 `json:"id"`
|
||||
}
|
||||
|
||||
type UpdateComponentCodeResponse struct {
|
||||
ID int64 `json:"id"`
|
||||
ComponentID int64 `json:"componentId"`
|
||||
Code string `json:"code"`
|
||||
CodeType string `json:"codeType"`
|
||||
IsPrimary bool `json:"isPrimary"`
|
||||
}
|
||||
Reference in New Issue
Block a user