Following the high level application requirements, defined in Chapter 4, Requirement Specification for Modular Web Shop App, our module will have several entities and other specific features implemented.
Following is a list of required module entities:
Category
Product
The Category entity includes the following properties and their data types:
id
: integer, auto-incrementtitle
: stringurl_key
: string, uniquedescription
: textimage
: string
The Product entity includes the following properties:
id
: integer, auto-incrementcategory_id
: integer, foreign key that references the category table ID columntitle
: stringprice
: decimalsku
: string, uniqueurl_key
: string, uniquedescription
: textqty
: integerimage
: stringonsale
: boolean
Aside from just adding these entities and their CRUD pages, we also need to override the core module services responsible for building the category menu and on sale items.