Skip to content

Commit

Permalink
Merge pull request #272 from ctreminiom/fk_request_status_date
Browse files Browse the repository at this point in the history
Added missing date struct in request current status date
  • Loading branch information
ctreminiom authored Jun 30, 2024
2 parents 06e675c + 7a86ef7 commit e2a43bd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions pkg/infra/models/sm_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,17 @@ type CustomerRequestRequestFieldValueScheme struct {

// CustomerRequestCurrentStatusScheme represents the current status of a customer request.
type CustomerRequestCurrentStatusScheme struct {
Status string `json:"status,omitempty"` // The status of the customer request.
StatusCategory string `json:"statusCategory,omitempty"` // The category of the status.
StatusDate struct {
} `json:"statusDate,omitempty"` // The date of the status.
Status string `json:"status,omitempty"` // The status of the customer request.
StatusCategory string `json:"statusCategory,omitempty"` // The category of the status.
StatusDate *CustomerRequestCurrentStatusDateScheme `json:"statusDate,omitempty"` // The date of the status.
}

// CustomerRequestCurrentStatusDateScheme represents a date for a customer request current status.
type CustomerRequestCurrentStatusDateScheme struct {
Iso8601 string `json:"iso8601,omitempty"` // The ISO 8601 format of the date.
Jira string `json:"jira,omitempty"` // The Jira format of the date.
Friendly string `json:"friendly,omitempty"` // The friendly format of the date.
EpochMillis int `json:"epochMillis,omitempty"` // The epoch milliseconds of the date.
}

// CustomerRequestLinksScheme represents the links related to a customer request.
Expand Down

0 comments on commit e2a43bd

Please sign in to comment.