Interface Delete
public interface Delete
删除操作验证组
用于Bean Validation中的验证组功能,标记删除操作相关的验证规则
在JSR 380规范中,验证组允许在不同场景下应用不同的验证规则
使用示例:
public class User {
@NotNull(groups = Delete.class)
private Long id;
// 其他字段...
}
- Author:
- Kerbores(kerbores@riemann.tech)