Following the high level application requirements, defined under Chapter 4, Requirement Specification for Modular Web Shop App, our module will have a single Customer
entity defined.
The Customer
entity includes the following properties:
id
: integer, auto-incrementemail
: string, uniqueusername
: string, unique, needed for login systempassword
: stringfirst_name
: stringlast_name
: stringcompany
: stringphone_number
: stringcountry
: stringstate
: stringcity
: stringpostcode
: stringstreet
: string
Throughout this chapter, aside from just adding the Customer
entity and its CRUD pages, we also need to address the creation of login, register, forgot your password pages, as well as override a core module service responsible for building a customer menu.