Representation d'un Service de DreamPack.
More...
Representation d'un Service de DreamPack.
def src.m.Service.Service.__init__ |
( |
|
self, |
|
|
|
id, |
|
|
|
client = None , |
|
|
|
placement = None , |
|
|
|
typeService = None , |
|
|
|
dateService = "NULL" , |
|
|
|
lieu = "" |
|
) |
| |
Constructeur d'un Service.
- Parameters
-
id | Si None : Cree un Service dans la BD Sinon : tentative de récupération du Service avec cet id dans la bd |
client | Si creation : Client associe au Service |
placement | Si creation : Placement associe au Service |
typeService | Si creation : TypeService du Service |
dateService | Si creation : date ou sera realise le service si necessaire |
lieu | Si creation : lieu ou realise le service si necessaire |
def src.m.Service.Service.getAllEnCours |
( |
|
parking | ) |
|
|
static |
def src.m.Service.Service.getAllServicePlacement |
( |
|
placement | ) |
|
|
static |
Retourne tout les Service associé a un Placement.
- Parameters
-
parking | Parking dont on veut connaitre les services |
- Returns
- Liste Service associé a un Placement
The documentation for this class was generated from the following file: