from django.db import models


class UserInfo(models.Model):
    name = models.CharField(max_length=32)
    pwd = models.CharField(max_length=64)
    token = models.CharField(max_length=64,null=True,blank=True)

    group = models.ForeignKey(to="Group")
    roles = models.ManyToManyField(to="Roles")

class Menu(models.Model):
    name = models.CharField(max_length=32)

class Group(models.Model):
    title = models.CharField(max_length=32)
    menu = models.ForeignKey(to="Menu")

class Roles(models.Model):
    name = models.CharField(max_length=32)

0b4d17944f04ecffba2bcf2cbe7a9b10ed0ce33d
<mask token>


class Group(models.Model):
    <mask token>
    <mask token>


class Roles(models.Model):
    name = models.CharField(max_length=32)

<mask token>


class Group(models.Model):
    title = models.CharField(max_length=32)
    menu = models.ForeignKey(to='Menu')


class Roles(models.Model):
    name = models.CharField(max_length=32)

<mask token>


class UserInfo(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class Menu(models.Model):
    name = models.CharField(max_length=32)


class Group(models.Model):
    title = models.CharField(max_length=32)
    menu = models.ForeignKey(to='Menu')


class Roles(models.Model):
    name = models.CharField(max_length=32)

<mask token>


class UserInfo(models.Model):
    name = models.CharField(max_length=32)
    pwd = models.CharField(max_length=64)
    token = models.CharField(max_length=64, null=True, blank=True)
    group = models.ForeignKey(to='Group')
    roles = models.ManyToManyField(to='Roles')


class Menu(models.Model):
    name = models.CharField(max_length=32)


class Group(models.Model):
    title = models.CharField(max_length=32)
    menu = models.ForeignKey(to='Menu')


class Roles(models.Model):
    name = models.CharField(max_length=32)

from django.db import models


class UserInfo(models.Model):
    name = models.CharField(max_length=32)
    pwd = models.CharField(max_length=64)
    token = models.CharField(max_length=64,null=True,blank=True)

    group = models.ForeignKey(to="Group")
    roles = models.ManyToManyField(to="Roles")

class Menu(models.Model):
    name = models.CharField(max_length=32)

class Group(models.Model):
    title = models.CharField(max_length=32)
    menu = models.ForeignKey(to="Menu")

class Roles(models.Model):
    name = models.CharField(max_length=32)
