com.github.fashionbrot.constraint.Violation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation Show documentation
Show all versions of validation Show documentation
validation 参数验证 https://github.com/fashionbrot/validation
The newest version!
package com.github.fashionbrot.constraint;
import lombok.Builder;
import lombok.Data;
@Builder
@Data
public class Violation {
/**
* 验证字段
*/
private String fieldName;
/**
* 错误信息
*/
private String msg;
/**
* 注解名
*/
private String annotationName;
/**
* value
*/
private Object value;
/**
* Array or List
* value index
*/
private Integer valueIndex;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy