Entities and attributes #18
Closed
vitali-yanushchyk-valor
started this conversation in
General
Replies: 1 comment
-
@vitali-yanushchyk-valor what about a DocumentHistory model? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Still not so clear - why do we need to define fields like
full_name
,given_name
,birth_date
, etc. separately in the Country Workspace models if we only need to validate and forward data that fully matches the programme rules to HOPE?Do these entity relations correlate with the purely Country Workspace scope?
Individual
,Household
,Document
have:programme_fields
containing data that follows programme rules, validated and populated using datacheckerextra_fields
holding any other data not corresponding to programme rules but present in the xls filecreated_at
indicating the datetime of creationIndividual
hasrelationship
field, which is nullable, and can be used to store the relationship between individuals and households as string from the list of predefined values.Document
hasdocument_number
andphoto
fields, maybe it`s better to store it as separate fields.IndividualHistory
,HouseholdHistory
can be created to store the history of changes in the main tables, containing:created_at
indicating the datetime of creationBeta Was this translation helpful? Give feedback.
All reactions