add search names, fix working bug, lowercase all mails

This commit is contained in:
2025-09-20 13:36:44 +02:00
parent 6c10027122
commit c3a3ead6fa
5 changed files with 47 additions and 16 deletions
@@ -20,7 +20,11 @@ public class Contact {
@Column(name = "id", nullable = false)
@JsonIgnore
private Long id;
@Column(nullable = false)
private String name;
@JsonIgnore
@Column(nullable = false)
private String searchName;
private String updatedName;
@Enumerated(EnumType.STRING)
private Commitment committed = Commitment.UNKNOWN;