blob: 12743efa039309fe356b9a0e6226da28d634a19a [file] [log] [blame]
Siobhan Tully4bc09f22013-04-10 21:15:21 -04001import os
2import datetime
3from django.db import models
4from plstackapi.core.models import PlCoreBase
5
6# Create your models here.
7
8class Role(PlCoreBase):
9
10 ROLE_CHOICES = (('admin', 'Admin'), ('pi', 'Principle Investigator'), ('user','User'))
11 role_id = models.CharField(max_length=256, unique=True)
12 role_type = models.CharField(max_length=80, unique=True, choices=ROLE_CHOICES)
13
14 def __unicode__(self): return u'%s' % (self.role_type)
15