META-INF.validation.jmash_file.xml Maven / Gradle / Ivy
<constraint-mappings xmlns="https://jakarta.ee/xml/ns/validation/mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/mapping https://jakarta.ee/xml/ns/validation/validation-mapping-3.0.xsd" version="3.0"> <default-package>jmash.file.protobuf</default-package> <bean class="JmashFileReq" ignore-annotations="true"> <getter name="curPage" ignore-annotations="true"> <constraint annotation="jakarta.validation.constraints.DecimalMin" > <element name="value">0</element> </constraint> </getter> <getter name="pageSize" ignore-annotations="true"> <constraint annotation="jakarta.validation.constraints.DecimalMin" > <element name="value">0</element> </constraint> <constraint annotation="jakarta.validation.constraints.DecimalMax" > <element name="value">100</element> </constraint> </getter> </bean> </constraint-mappings>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy