This commit is contained in:
Mohd-Arham
2025-12-03 11:47:10 +05:30
parent 5f09755d2c
commit 164c27e689
5 changed files with 49 additions and 15 deletions
@@ -25,6 +25,9 @@ public class UserEntity extends Auditable<String> {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "user_id", unique = true)
private String userId;
@Column(name = "mobile", nullable = false, unique = true, length = 20)
private String mobile;