Skip to content
Snippets Groups Projects
models.md 856 B
Newer Older
Arnaud Levy's avatar
Arnaud Levy committed
# Models

## University

- name:string
- address:string
- zipcode:string
- city:string
- country:string
- private:boolean

## university/School

- university:references
- name:string
- address:string
- zipcode:string
- city:string
- country:string
Arnaud Levy's avatar
Arnaud Levy committed
- latitude:float
- longitude:float
Arnaud Levy's avatar
Arnaud Levy committed

## university/Campus

- university:references
- name:string
- address:string
- zipcode:string
- city:string
- country:string

## User

- university:references
- first_name:string
- last_name:string
- role:integer (enum: superadmin, admin, visitor)

## user/Teacher

- user:references
- program:references
- title:string
- biography:text

## user/Student

- user:references
- program:references
- year:references
- session:references

## user/Alumnus

- user:references
- program:references
- session:references

## user/Application

- user:references
- program:references