aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model.elm
blob: 8f4c6a6ee682202302a6490f81ae4b32566bd1f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Model exposing (..)


type alias Model =
    { users : List User
    }


type alias User =
    { type_ : UserType
    , value : String
    }


type UserType
    = Class
    | Teacher
    | Room
    | Student