| | |
| | | import java.time.Instant; |
| | | import java.util.Optional; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.EnumType; |
| | | import javax.persistence.Enumerated; |
| | | import javax.persistence.GeneratedValue; |
| | | import javax.persistence.GenerationType; |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import javax.persistence.*; |
| | | |
| | | import org.springframework.data.annotation.CreatedDate; |
| | | import org.springframework.data.annotation.LastModifiedDate; |
| | | import org.springframework.data.jpa.domain.support.AuditingEntityListener; |
| | | import org.springframework.util.StringUtils; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonIgnore; |
| | | import com.pollex.pam.enums.OtpLoginTypeEnum; |
| | | |
| | | @EntityListeners(AuditingEntityListener.class) |
| | | @Entity |
| | | @Table(name = "customer") |
| | | public class Customer implements Serializable { |
| | | |
| | | |
| | | /** |
| | | * |