Skip to content

server: create a room model #21

Description

@Dirac156

A room is defined by a name, common_name, floor, capacity, longitude, and latitude.

add data validation:

  • name: should be among one of the African countries and this is unique.
  • floor: an integer value between 0 - 2
  • capacity: integer value
  • longitude: string
  • latitude: string

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or requesthacktoberfestAn issue raised to help people contribute on hacktoberFesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions