# Generated by Django 2.1.7 on 2020-12-26 09:23

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0106_auto_20201224_1519'),
        ('sales', '0113_auto_20201225_1557'),
    ]

    operations = [
        migrations.CreateModel(
            name='Holiday',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20, verbose_name='名称')),
                ('dt', models.DateField(db_index=True, verbose_name='日期')),
                ('customize', models.BooleanField(default=False)),
                ('remark', models.CharField(blank=True, max_length=100, null=True, verbose_name='备注')),
                ('company', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='holiday_company', to='company.Company', verbose_name='公司名称')),
            ],
            options={
                'verbose_name': '节假日',
                'verbose_name_plural': '节假日',
            },
        ),
    ]
