Entity Catalog
Complete inventory of all ORM entities in aclimate_v3_orm.
Complete Entity List
| # | Entity Class | Table Name | Domain | Module | Service |
|---|---|---|---|---|---|
| 1 | MngCountry | mng_country | Management | Country | mng_country_service |
| 2 | MngAdmin1 | mng_admin_1 | Management | Admin Level 1 | mng_admin_1_service |
| 3 | MngAdmin2 | mng_admin_2 | Management | Admin Level 2 | mng_admin_2_service |
| 4 | MngLocation | mng_location | Management | Location | mng_location_service |
| 5 | MngCrop | mng_crop | Management | Crop | mng_crop_service |
| 6 | MngCultivar | mng_cultivar | Management | Cultivar | mng_cultivar_service |
| 7 | MngSoil | mng_soil | Management | Soil | mng_soil_service |
| 8 | MngSeason | mng_season | Management | Season | mng_season_service |
| 9 | MngSetup | mng_setup | Management | Setup | mng_setup_service |
| 10 | MngSource | mng_source | Management | Source | mng_source_service |
| 11 | MngDataSource | mng_data_source | Management | Data Source | mng_data_source_service |
| 12 | MngClimateMeasure | mng_climate_measure | Management | Climate Measure | mng_climate_measure_service |
| 13 | MngIndicator | mng_indicator | Management | Indicator | mng_indicators_service |
| 14 | MngIndicatorCategory | mng_indicator_category | Management | Indicator Category | mng_indicator_category_service |
| 15 | MngIndicatorsFeatures | mng_indicators_features | Management | Indicator Features | mng_indicators_features_service |
| 16 | MngPhenologicalStage | mng_phenological_stage | Management | Phenological Stage | mng_phenological_stage_service |
| 17 | MngStress | mng_stress | Management | Stress | mng_stress_service |
| 18 | MngConfigurationFile | mng_configuration_file | Management | Configuration File | mng_configuration_file_service |
| 19 | MngCountryIndicator | mng_country_indicator | Management | Country Indicator | mng_country_indicator_service |
| 20 | MngCountryClimateMeasure | mng_country_climate_measure | Management | Country Climate Measure | mng_country_climate_measure_service |
| 21 | Forecast | forecast | Forecast | Forecast | forecast_service |
| 22 | ForecastAnalogue | forecast_analogue | Forecast | Forecast Analogue | forecast_analogue_service |
| 23 | ClimateHistoricalDaily | climate_historical_daily | Climate | Climate Daily | climate_historical_daily_service |
| 24 | ClimateHistoricalMonthly | climate_historical_monthly | Climate | Climate Monthly | climate_historical_monthly_service |
| 25 | ClimateHistoricalClimatology | climate_historical_climatology | Climate | Climate Climatology | climate_historical_climatology_service |
| 26 | ClimateHistoricalIndicator | climate_historical_indicator | Climate | Climate Indicator | climate_historical_indicator_service |
| 27 | HistoricalAgroclimaticIndicator | historical_agroclimatic_indicator | Agroclimatic | Historical Agroclimatic | historical_agroclimatic_indicator_service |
| 28 | PhenologicalStageStress | phenological_stage_stress | Phenology | Stage Stress | phenological_stage_stress_service |
| 29 | User | user | Security | User | user_service |
| 30 | Role | role | Security | Role | role_service |
| 31 | UserAccess | user_access | Security | User Access | user_access_service |
ORM Package Structure
aclimate_v3_orm/
├── database/
│ ├── __init__.py
│ └── base.py # SQLAlchemy Base, engine, session
├── enums/
│ ├── app.py
│ ├── indicator_feature_type.py
│ ├── indicators_type.py
│ ├── module.py
│ ├── period.py
│ ├── source_type.py
│ └── stress_category.py
├── models/ # SQLAlchemy entity definitions (31 files)
├── schemas/ # Pydantic schemas (31 files)
├── services/ # Business logic layer (31 files)
├── validations/ # Data integrity validations (31 files)
└── migrations/
├── versions/ # Alembic migration scripts
├── env.py
└── script.py.mako
Shared Enumerations
| Enum File | Values |
|---|---|
app.py | Application module identifiers |
indicator_feature_type.py | Types of indicator features |
indicators_type.py | Indicator classification types |
module.py | System module identifiers |
period.py | Time periods (daily, monthly, yearly) |
source_type.py | Data source type classification |
stress_category.py | Stress categories for crops |