edw1nzhao / cs2340_group16

CS2340 Group 16 Crowd-Sourced Water Reporting App
2 stars 1 forks source link

Create WaterSourceReport and WaterPurityReport classes in "model" folder. #58

Closed tomonarifeehan closed 7 years ago

tomonarifeehan commented 7 years ago

Create two classes, appropriate fields, getters and setters based on the wiki:

WaterSourceReport class A user can submit this report any time they are logged in. This report consists of:

-Date and time of report (can be autogenerated by application) -Report Number (must be autogenerated by application) -Name of reporter (can be autogenerated from user information) -Location of water (manually entered. using any kind of location services or gps is extra credit). -Type of water (Bottled, Well, Stream, Lake, Spring, Other) -Condition of water (Waste, Treatable-Clear, Treatable-Muddy, Potable)

WaterPurityReport class A real water report would need to address multiple bacteria/virus and chemical contaminants. For our basic application, we assume that parts-per-million (PPM) is our measure and we will lump everything into two categories: Viruses and Contaminants.

-Date and time of the report (can be autogenerated by application) -Report Number (must be autogenerated by application) -Name of Worker (can be autogenerated from worker information) -Location of water (manually entered. using any kind of location services or gps is extra credit). -Overall Condition (Safe / Treatable / Unsafe) -Virus PPM -Contaminant PPM

tomonarifeehan commented 7 years ago

Justin you can try working on this and if you have problems just assign the issue to me and Edwin.