ylaifa / reliev

1 stars 1 forks source link

Create MasseurProfile model #28

Open OnyJ opened 4 years ago

OnyJ commented 4 years ago

Why ? To get a complete set of informations about the Masseur. This way masseurs will interract with companies.

How ? Create the model

Migration editing :

Model editing :

Address model editing :

Testing the model in console (we need the other following models to be created before these tests : Company, CompanyProfile, Employee, EmployeeProfile and JoinTableMasseurCompany). Testing link to Masseur devise model :

Testing link to Address model :

Testing link to CompanyProfile model :

Must Have

Reading List

billzero commented 4 years ago

Pourquoi plusieurs adresses ?

A quoi sert authorized ?