Skip to content

Add columns to hotel and room

Sylvain Galtier requested to merge addColumnsToHotelAndRoom into master

Created by: Eval160

  • add columns name, address, siret, telephone, manager, and subscription (as an enumerable) to Hotel model
  • add columns name and token to Room model
  • add relation between hotel and room
  • add validations to Hotel: name, siret, and subscription can't be empty
  • add validations to Room: name can't be empty
  • add generation token method to Room model

Merge request reports