Created
December 1, 2020 07:28
-
-
Save frekele/fb299752273c2ccb160ecb784b65a4eb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Team { | |
@NotNull(groups = {OnCreate.class, OnUpdate.class}) | |
@NotEmpty(groups = {OnCreate.class, OnUpdate.class}) | |
private String name; | |
@NotNull(groups = {OnCreate.class, OnUpdate.class}) | |
private ConfigTeam config; | |
@NotNull | |
@Size(min = 2, max = 14) | |
private String description; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment