# Generated by Django 2.1.7 on 2020-12-17 16:39

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0096_auto_20201215_1702'),
        ('sales', '0099_member_headimg'),
        ('mall', '0008_auto_20201216_1948'),
    ]

    operations = [
        migrations.CreateModel(
            name='UserPoints_Record',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('reason', models.CharField(max_length=200, verbose_name='原因')),
                ('points', models.IntegerField(blank=True, null=True, 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='用户')),
            ],
        ),
        migrations.AlterField(
            model_name='points_products',
            name='product_content',
            field=models.CharField(blank=True, max_length=10000, null=True, verbose_name='商品内容'),
        ),
        migrations.AlterField(
            model_name='points_products',
            name='product_desc',
            field=models.CharField(blank=True, max_length=3000, null=True, verbose_name='商品介绍'),
        ),
        migrations.AlterField(
            model_name='userpoints',
            name='num',
            field=models.IntegerField(blank=True, null=True, verbose_name='积分数量'),
        ),
    ]
