Package entity

Class Customer

All Implemented Interfaces:
Person

public class Customer extends AbstractCustomer
Represents a customer in the banking system. Built using the Builder pattern.
Author:
TAMIL MUGHILAN
  • Field Details

    • branch_id

      private final int branch_id
    • salt

      private String salt
  • Constructor Details

  • Method Details

    • getBranchId

      public int getBranchId()
      Gets the branch ID.
      Specified by:
      getBranchId in class AbstractCustomer
      Returns:
      the branch ID
    • getSalt

      public String getSalt()
      Gets the Salt for password.
      Returns:
      salt for password
    • toString

      public String toString()
      Overrides:
      toString in class Object