Annotation for DTO Request
For change name of propertie
@JsonProperty("name") <data type> <name variable>
Make description of properties
@ApiModelProperty(name = "Delivery Order Line Id", example = "08a462d6-7cc9-4216-a21c-6f1ac8000009")
Make the propertie should prositive(not be zebo)
@Positive(message = "QTY must be positive value")
Annotation for DTO Response
Change name of propertie
@JsonAlias("name") <data type> <name variable>
Komentar
Posting Komentar