# Generated by Django 2.1.7 on 2020-12-16 19:43

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('sales', '0098_auto_20201216_1812'),
        ('company', '0096_auto_20201215_1702'),
        ('mall', '0005_auto_20201216_1943'),
    ]

    operations = [
        migrations.CreateModel(
            name='UserPoints',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('num', models.IntegerField(blank=True, verbose_name='积分数量')),
                ('is_freeze', models.BooleanField(default=False, verbose_name='是否冻结')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='更新时间')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='company.Company', verbose_name='公司名称')),
                ('member', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='sales.Member', verbose_name='用户')),
            ],
            options={
                'verbose_name': '用户积分',
                'verbose_name_plural': '用户积分',
            },
        ),
    ]
