Fixing the condition for organization name being empty

This commit is contained in:
Arpit Mohan 2020-11-03 07:58:22 +05:30
parent 26da9ce60b
commit d087b8152d

View File

@ -24,9 +24,7 @@ public class Organization extends BaseDomain {
private String domain;
@NotEmpty(message = "Name must not be empty")
@NotBlank(message = "Name must not be blank")
@NotNull(message = "Name is mandatory")
@NotBlank(message = "Name is mandatory")
private String name;
private String website;