# Generated by Django 3.1.4 on 2021-04-24 09:42

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0202_user_roles'),
    ]

    operations = [
        migrations.CreateModel(
            name='CGroup',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('company_id', models.IntegerField(verbose_name='企业ID')),
                ('group_id', models.IntegerField(verbose_name='功能组别ID')),
                ('name', models.CharField(max_length=50, verbose_name='组别角色名称')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='时间')),
            ],
            options={
                'verbose_name': '企业角色(组别)',
                'verbose_name_plural': '企业角色(组别)',
                'unique_together': {('company_id', 'group_id')},
            },
        ),
    ]
