Untitled

 avatar
unknown
java
2 years ago
752 B
15
No Index
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "userId",
        "transactionId"
})
@XmlRootElement(name = "idCheckRequest", namespace = "http://mycompany.lt/soap-web-service")
@Data
public class PerlasIdCheckRequestDTO {
    @NotNull(message = "userId cant be null")
    @Size(max = 32, message = "userId too long")
    @XmlElement(name = "userId", required = true, namespace = "http://mycompany.lt/soap-web-service" )
    private String userId;

    @NotNull(message = "transactionId cant be null")
    @Size(max = 100, message = "transactionId too long")
    @XmlElement(name = "transactionId", required = true, namespace = "http://mycompany.lt/soap-web-service")
    private String transactionId;
}
Editor is loading...
Leave a Comment