Advertisement
mbratanov

Untitled

Dec 21st, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.54 KB | None | 0 0
  1. from models.climate_data import ClimateData
  2. from models.construction import Construction
  3. from models.schedule import Schedule
  4. from models.zone import Zone
  5.  
  6.  
  7. class Project:
  8.     __project_id = 1
  9.  
  10.     def __init__(self, name: str, climate_data: ClimateData) -> None:
  11.         self.id = Project.__project_id
  12.         self.name = name
  13.         self.climate_data = climate_data
  14.         self.zones: list[Zone] = []
  15.         self.constructions: list[Construction] = []
  16.         self.schedules: list[Schedule] = []
  17.         Project.__project_id += 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement