Skip to content

Commit

Permalink
Fixing wrong/missing @JsonProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
mskopp committed May 13, 2022
1 parent b834ba2 commit 04b0a83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/iata/cargo/model/Waybill.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class Waybill
@ParticipationConstraints({
@ParticipationConstraint(owlObjectIRI = Vocabulary.s_c_Thing, max = 1)
})
@JsonProperty(Vocabulary.s_p_bookingRef_A)
protected Booking bookingRef;
/**
* Location of individual or company involved in the movement of a consignment or Coded representation of a specific airport/city code
Expand Down Expand Up @@ -189,7 +190,7 @@ public class Waybill
@ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", min = 1, max = -1),
@ParticipationConstraint(owlObjectIRI = "http://www.w3.org/2001/XMLSchema#string", max = 1)
})
@JsonProperty(Vocabulary.s_p_waybillNumber_A_A)
@JsonProperty(Vocabulary.s_p_waybillNumber_A_A_A)
protected String waybillNumber;
/**
* Prefix used for the Waybill Number. Refer to IATA Airlines Codes
Expand Down

0 comments on commit 04b0a83

Please sign in to comment.