Skip to content
Snippets Groups Projects
Commit cb7e3759 authored by Julian Horner's avatar Julian Horner
Browse files

Update Organizer table

parent cf8bdbb5
No related branches found
No related tags found
No related merge requests found
package de.dpunkt.myaktion.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
......@@ -35,6 +36,7 @@ public class Organizer extends DateEntity {
private String lastName;
@Pattern(regexp = ".+@.+", message = "{organizer.email.pattern}")
@Column(unique = true)
private String email;
@NotNull
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment