example
@Byte(min=1, max=100)
private String name;

@Size(min=1, max=100)
private String name;

Character

Byte

Conclusion