@startuml
entity "User" {
    +id : String
    *email : String
    *username : String
    *password : String
    *role : Enum(admin, user)
    createdAt : timestamp
    updatedAt : timestamp
}

entity "CustomerInformation" {
    #user_id : String
    *lineId : String
    *payment : Enum(credit, bank)
    *isActive : Bool
    createdAt : timestamp
    updatedAt : timestamp
}

entity "BundleAccountNumber" {
    #user_id : String << FK >>
    *account_no : String
    createdAt : timestamp
}

User ||..|{ BundleAccountNumber
User ||..|| CustomerInformation

@enduml
