1 @NotEmpty :不能为null,且Size>0
2 @NotNull:不能为null,但可以为empty,没有Size的约束。
官方文档解释:
@NotNull: The CharSequence, Collection, Map or Array object is not null,
but can be empty.
@NotEmpty: The CharSequence, Collection, Map or Array object is not null
and size > 0.