# Generated by Django 3.2.12 on 2023-08-28 08:53

from django.db import migrations, models
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ('cms', '0009_material_cate'),
    ]

    operations = [
        migrations.CreateModel(
            name='Source',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(default=django.utils.timezone.now, help_text='创建时间', verbose_name='创建时间')),
                ('update_time', models.DateTimeField(auto_now=True, help_text='修改时间', verbose_name='修改时间')),
                ('is_delete', models.BooleanField(default=False, help_text='删除标记', verbose_name='删除标记')),
                ('name', models.CharField(max_length=100, verbose_name='来源名称')),
                ('author', models.CharField(blank=True, max_length=100, null=True, verbose_name='作者')),
                ('publish_year', models.PositiveSmallIntegerField(blank=True, null=True, verbose_name='发表年份')),
                ('note', models.TextField(blank=True, null=True, verbose_name='备注')),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='Threshold',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(default=django.utils.timezone.now, help_text='创建时间', verbose_name='创建时间')),
                ('update_time', models.DateTimeField(auto_now=True, help_text='修改时间', verbose_name='修改时间')),
                ('is_delete', models.BooleanField(default=False, help_text='删除标记', verbose_name='删除标记')),
                ('is_perception', models.BooleanField(blank=True, null=True, verbose_name='是否感知阈值')),
                ('is_recognition', models.BooleanField(blank=True, null=True, verbose_name='是否识别阈值')),
                ('compound_cate', models.CharField(max_length=10, verbose_name='化合物分类')),
                ('odor_type', models.CharField(blank=True, max_length=50, null=True, verbose_name='气味类型')),
                ('chinese_name', models.CharField(max_length=20, verbose_name='中文名')),
                ('ppm', models.FloatField(verbose_name='ppm值')),
                ('ppm_sign', models.CharField(default='=', max_length=10, verbose_name='ppm符号标记')),
                ('mass', models.FloatField(verbose_name='质量浓度')),
                ('mass_sign', models.CharField(default='=', max_length=10, verbose_name='质量浓度符号标记')),
                ('molecular', models.FloatField(verbose_name='分子质量')),
                ('cas', models.CharField(max_length=20, verbose_name='cas号')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
