ylaifa / reliev

1 stars 1 forks source link

Create CompanyProfile Model #21

Open OnyJ opened 4 years ago

OnyJ commented 4 years ago

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

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, Masseur, MasseurProfile, Employee, EmployeeProfile). Testing link to Company devise model :

Must Have A complete CompanyProfile model, connected to the Company model made with devise. The CompanyProfile model can get multiple addresses and multiple employees.

Reading List

OnyJ commented 4 years ago

@Yous91 si tu t'es assez inspiré de cette issue tu peux la supprimer :+1: