@@ -278,6 +278,25 @@ class ChemistrySampleInfo(Base):
278278 passive_deletes = True ,
279279 )
280280
281+
282+ class AssociatedData (Base ):
283+ """
284+ Legacy AssociatedData table from NM_Aquifer.
285+ """
286+
287+ __tablename__ = "NMA_AssociatedData"
288+
289+ location_id : Mapped [Optional [uuid .UUID ]] = mapped_column (
290+ "LocationId" , UUID (as_uuid = True ), unique = True
291+ )
292+ point_id : Mapped [Optional [str ]] = mapped_column ("PointID" , String (10 ))
293+ assoc_id : Mapped [uuid .UUID ] = mapped_column (
294+ "AssocID" , UUID (as_uuid = True ), primary_key = True
295+ )
296+ notes : Mapped [Optional [str ]] = mapped_column ("Notes" , String (255 ))
297+ formation : Mapped [Optional [str ]] = mapped_column ("Formation" , String (15 ))
298+ object_id : Mapped [Optional [int ]] = mapped_column ("OBJECTID" , Integer , unique = True )
299+
281300 major_chemistries : Mapped [List ["NMAMajorChemistry" ]] = relationship (
282301 "NMAMajorChemistry" ,
283302 back_populates = "chemistry_sample_info" ,
@@ -328,6 +347,24 @@ class SurfaceWaterData(Base):
328347 data_source : Mapped [Optional [str ]] = mapped_column ("DataSource" , String (255 ))
329348
330349
350+ class SurfaceWaterPhotos (Base ):
351+ """
352+ Legacy SurfaceWaterPhotos table from NM_Aquifer.
353+ """
354+
355+ __tablename__ = "NMA_SurfaceWaterPhotos"
356+
357+ surface_id : Mapped [Optional [uuid .UUID ]] = mapped_column (
358+ "SurfaceID" , UUID (as_uuid = True )
359+ )
360+ point_id : Mapped [str ] = mapped_column ("PointID" , String (50 ), nullable = False )
361+ ole_path : Mapped [Optional [str ]] = mapped_column ("OLEPath" , String (50 ))
362+ object_id : Mapped [Optional [int ]] = mapped_column ("OBJECTID" , Integer , unique = True )
363+ global_id : Mapped [uuid .UUID ] = mapped_column (
364+ "GlobalID" , UUID (as_uuid = True ), primary_key = True
365+ )
366+
367+
331368class WeatherData (Base ):
332369 """
333370 Legacy WeatherData table from AMPAPI.
@@ -345,6 +382,40 @@ class WeatherData(Base):
345382 object_id : Mapped [int ] = mapped_column ("OBJECTID" , Integer , primary_key = True )
346383
347384
385+ class WeatherPhotos (Base ):
386+ """
387+ Legacy WeatherPhotos table from NM_Aquifer.
388+ """
389+
390+ __tablename__ = "NMA_WeatherPhotos"
391+
392+ weather_id : Mapped [Optional [uuid .UUID ]] = mapped_column (
393+ "WeatherID" , UUID (as_uuid = True )
394+ )
395+ point_id : Mapped [str ] = mapped_column ("PointID" , String (50 ), nullable = False )
396+ ole_path : Mapped [Optional [str ]] = mapped_column ("OLEPath" , String (50 ))
397+ object_id : Mapped [Optional [int ]] = mapped_column ("OBJECTID" , Integer , unique = True )
398+ global_id : Mapped [uuid .UUID ] = mapped_column (
399+ "GlobalID" , UUID (as_uuid = True ), primary_key = True
400+ )
401+
402+
403+ class SoilRockResults (Base ):
404+ """
405+ Legacy Soil_Rock_Results table from NM_Aquifer.
406+ """
407+
408+ __tablename__ = "NMA_Soil_Rock_Results"
409+
410+ id : Mapped [int ] = mapped_column (Integer , primary_key = True , autoincrement = True )
411+ point_id : Mapped [Optional [str ]] = mapped_column ("Point_ID" , String (255 ))
412+ sample_type : Mapped [Optional [str ]] = mapped_column ("Sample Type" , String (255 ))
413+ date_sampled : Mapped [Optional [str ]] = mapped_column ("Date Sampled" , String (255 ))
414+ d13c : Mapped [Optional [float ]] = mapped_column ("d13C" , Float )
415+ d18o : Mapped [Optional [float ]] = mapped_column ("d18O" , Float )
416+ sampled_by : Mapped [Optional [str ]] = mapped_column ("Sampled by" , String (255 ))
417+
418+
348419class NMAMinorTraceChemistry (Base ):
349420 """
350421 Legacy MinorandTraceChemistry table from AMPAPI.
0 commit comments