Last active
August 11, 2019 18:54
-
-
Save veeara282/ea08595dd0c022a489b107d75713aaad to your computer and use it in GitHub Desktop.
Data model for the Kindred web app (Violet Hacks 2019)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Model | |
trait User extends Model { | |
// Personally identifiable information | |
def name: String | |
def pronouns: String | |
def email: String | |
// Interests and skills | |
def causes: Set[Cause] | |
def skills: Set[Skill] | |
} | |
trait Organization extends Model { | |
// Identifying information | |
def name: String | |
// Categories and skills needed | |
def causes: Set[Cause] | |
def skillsNeeded: Set[Skill] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment