Magnetoculus Database Builder Construction de bases de données pour Magnetoculus

Static Public Attributes | List of all members
DBCreator.City Class Reference

The data model of a city in the database. More...

Inheritance diagram for DBCreator.City:

## Static Public Attributes
| id = Column(Integer, primary_key=True, nullable=False)
| name = Column(String(250), nullable=False)
| type = Column(Enum(ECityType), nullable=False)

## Detailed Description

The data model of a city in the database.

It consists of just a name (which is the path of the file describing the city) and a type (ECityType).

## Member Data Documentation

## ◆ id

DBCreator.City.id = Column(Integer, primary_key=True, nullable=False)
| static

## ◆ name

DBCreator.City.name = Column(String(250), nullable=False)
| static

## ◆ type

DBCreator.City.type = Column(Enum(ECityType), nullable=False)
| static

The documentation for this class was generated from the following file:

- Database/DBCreator.py