# Generated by Django 3.1.4 on 2021-10-19 19:04

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0254_auto_20211014_1321'),
        ('inventory', '0109_auto_20211019_1820'),
    ]

    operations = [
        migrations.AddField(
            model_name='stkclosingperiod',
            name='company',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, related_name='stkclosingperiod_company', to='company.company', verbose_name='公司名称'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='stkclosingperiod',
            name='dt_fr',
            field=models.DateField(default=django.utils.timezone.now, verbose_name='开始日期'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='stkclosingperiod',
            name='dt_to',
            field=models.DateField(default=django.utils.timezone.now, verbose_name='结束日期'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='stkclosingperiod',
            name='tm_edit',
            field=models.DateTimeField(auto_now=True, verbose_name='修改时间'),
        ),
        migrations.AlterField(
            model_name='stkclosingperiod',
            name='ancestor',
            field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.PROTECT, related_name='stkclosingperiod_ancestoer', to='company.company', verbose_name='企业名称'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='stkclosingperiod',
            name='dt',
            field=models.DateField(auto_now_add=True, verbose_name='创建日期'),
        ),
    ]
