feat: init k8s and customer service #15

Merged
TakahashiNguyen merged 19 commits from dev-customer-service into main 2026-04-08 08:24:01 +00:00
Showing only changes of commit f08499b346 - Show all commits
@@ -2,6 +2,7 @@ package com.drinkool.models;
import com.drinkool.entities.BaseEntity;
import com.drinkool.utils.PhoneValidator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.password4j.Password;
import jakarta.persistence.*;
import jakarta.transaction.*;
@@ -20,7 +21,8 @@ public abstract class UserModel extends BaseEntity {
public String phone;
@Column(nullable = false, length = 1024)
protected String hashedPassword;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
public String hashedPassword;
@Transactional
public void signup(String phone) {