@@ -154,15 +154,19 @@ class CVReferenceMaterialMedium(Base, CV):
154
154
# Core
155
155
# ################################################################################
156
156
class People (Base ):
157
-
157
+ """
158
+ Individuals that perform actions.
159
+ """
158
160
PersonID = Column ('personid' , Integer , primary_key = True , nullable = False )
159
161
PersonFirstName = Column ('personfirstname' , String (255 ), nullable = False )
160
162
PersonMiddleName = Column ('personmiddlename' , String (255 ))
161
163
PersonLastName = Column ('personlastname' , String (255 ), nullable = False )
162
164
163
165
164
166
class Organizations (Base ):
165
-
167
+ """
168
+ A group of people.
169
+ """
166
170
OrganizationID = Column ('organizationid' , Integer , primary_key = True , nullable = False )
167
171
OrganizationTypeCV = Column ('organizationtypecv' , ForeignKey (CVOrganizationType .Name ), nullable = False ,
168
172
index = True )
@@ -194,7 +198,9 @@ class Affiliations(Base):
194
198
195
199
196
200
class Methods (Base ):
197
-
201
+ """
202
+ The procedure used to perform an action.
203
+ """
198
204
MethodID = Column ('methodid' , Integer , primary_key = True , nullable = False )
199
205
MethodTypeCV = Column ('methodtypecv' , ForeignKey (CVMethodType .Name ), nullable = False , index = True )
200
206
MethodCode = Column ('methodcode' , String (50 ), nullable = False )
@@ -208,7 +214,9 @@ class Methods(Base):
208
214
209
215
210
216
class Actions (Base ):
211
-
217
+ """
218
+ Actions are performed by people and may have a result.
219
+ """
212
220
ActionID = Column ('actionid' , Integer , primary_key = True , nullable = False )
213
221
ActionTypeCV = Column ('actiontypecv' , ForeignKey (CVActionType .Name ), nullable = False , index = True )
214
222
MethodID = Column ('methodid' , ForeignKey (Methods .MethodID ), nullable = False )
@@ -236,7 +244,9 @@ class ActionBy(Base):
236
244
237
245
238
246
class SamplingFeatures (Base ):
239
-
247
+ """
248
+ Where or on what an action was performed.
249
+ """
240
250
SamplingFeatureID = Column ('samplingfeatureid' , Integer , primary_key = True , nullable = False )
241
251
SamplingFeatureUUID = Column ('samplingfeatureuuid' , String (36 ), nullable = False )
242
252
SamplingFeatureTypeCV = Column ('samplingfeaturetypecv' , ForeignKey (CVSamplingFeatureType .Name ),
@@ -262,7 +272,10 @@ class SamplingFeatures(Base):
262
272
263
273
264
274
class FeatureActions (Base ):
265
-
275
+ """
276
+ Provides flexible linkage between Actions and the SamplingFeatures
277
+ on which or at which they were performed.
278
+ """
266
279
FeatureActionID = Column ('featureactionid' , Integer , primary_key = True , nullable = False )
267
280
SamplingFeatureID = Column ('samplingfeatureid' , ForeignKey (SamplingFeatures .SamplingFeatureID ),
268
281
nullable = False )
@@ -273,7 +286,9 @@ class FeatureActions(Base):
273
286
274
287
275
288
class DataSets (Base ):
276
-
289
+ """
290
+ Enables grouping of results into a larger dataset.
291
+ """
277
292
DataSetID = Column ('datasetid' , Integer , primary_key = True , nullable = False )
278
293
279
294
# This has been changed to String to support multiple database uuid types
@@ -285,15 +300,19 @@ class DataSets(Base):
285
300
286
301
287
302
class ProcessingLevels (Base ):
288
-
303
+ """
304
+ Levels to which data have been quality controlled.
305
+ """
289
306
ProcessingLevelID = Column ('processinglevelid' , Integer , primary_key = True , nullable = False )
290
307
ProcessingLevelCode = Column ('processinglevelcode' , String (50 ), nullable = False )
291
308
Definition = Column ('definition' , String (500 ))
292
309
Explanation = Column ('explanation' , String (500 ))
293
310
294
311
295
312
class RelatedActions (Base ):
296
-
313
+ """
314
+ Enables specifying relationships among Actions (e.g., workflows, etc.)
315
+ """
297
316
RelationID = Column ('relationid' , Integer , primary_key = True , nullable = False )
298
317
ActionID = Column ('actionid' , ForeignKey (Actions .ActionID ), nullable = False )
299
318
RelationshipTypeCV = Column ('relationshiptypecv' , ForeignKey (CVRelationshipType .Name ), nullable = False ,
@@ -305,7 +324,9 @@ class RelatedActions(Base):
305
324
306
325
307
326
class TaxonomicClassifiers (Base ):
308
-
327
+ """
328
+ Terms for classifying results.
329
+ """
309
330
TaxonomicClassifierID = Column ('taxonomicclassifierid' , Integer , primary_key = True , nullable = False )
310
331
TaxonomicClassifierTypeCV = Column ('taxonomicclassifiertypecv' , ForeignKey (CVTaxonomicClassifierType .Name ),
311
332
nullable = False , index = True )
@@ -320,7 +341,9 @@ class TaxonomicClassifiers(Base):
320
341
321
342
322
343
class Units (Base ):
323
-
344
+ """
345
+ Units of measure.
346
+ """
324
347
UnitsID = Column ('unitsid' , Integer , primary_key = True , nullable = False )
325
348
UnitsTypeCV = Column ('unitstypecv' , ForeignKey (CVUnitsType .Name ), nullable = False , index = True )
326
349
UnitsAbbreviation = Column ('unitsabbreviation' , String (255 ), nullable = False )
@@ -329,7 +352,9 @@ class Units(Base):
329
352
330
353
331
354
class Variables (Base ):
332
-
355
+ """
356
+ What was observed.
357
+ """
333
358
VariableID = Column ('variableid' , Integer , primary_key = True , nullable = False )
334
359
VariableTypeCV = Column ('variabletypecv' , ForeignKey (CVVariableType .Name ), nullable = False , index = True )
335
360
VariableCode = Column ('variablecode' , String (50 ), nullable = False )
@@ -341,7 +366,9 @@ class Variables(Base):
341
366
342
367
343
368
class Results (Base ):
344
-
369
+ """
370
+ The result of an action.
371
+ """
345
372
ResultID = Column ('resultid' , BigIntegerType , primary_key = True )
346
373
347
374
# This has been changed to String to support multiple database uuid types
0 commit comments