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

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

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

Inheritance diagram for DBCreator.Field:

## Static Public Attributes
| id = Column(Integer, primary_key=True, nullable=False)
| cityID = Column(Integer, ForeignKey('city.id'), nullable=False)
| city = relationship('City')
| type = Column(Enum(EFieldType), nullable=False)
| name = Column(String(250), nullable=False)
| dataOnXAxis = Column(Integer, nullable=False)
| dataOnYAxis = Column(Integer, nullable=False)
| dataOnZAxis = Column(Integer, nullable=False)

## Detailed Description

The data model of a city in the database.

Every Field has a type (EFieldType), a name (which is the path of the file describing the field), and belongs to a specific City.

## Member Data Documentation

## ◆ city

DBCreator.Field.city = relationship('City')
| static

## ◆ cityID

DBCreator.Field.cityID = Column(Integer, ForeignKey('city.id'), nullable=False)
| static

## ◆ dataOnXAxis

DBCreator.Field.dataOnXAxis = Column(Integer, nullable=False)
| static

## ◆ dataOnYAxis

DBCreator.Field.dataOnYAxis = Column(Integer, nullable=False)
| static

## ◆ dataOnZAxis

DBCreator.Field.dataOnZAxis = Column(Integer, nullable=False)
| static

## ◆ id

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

## ◆ name

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

## ◆ type

DBCreator.Field.type = Column(Enum(EFieldType), nullable=False)
| static

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

- Database/DBCreator.py