|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2021-01-04 07:47
from __future__ import unicode_literals
from django.db import migrations, models
import django_models_ext.fileext
import shortuuidfield.fields
class Migration(migrations.Migration):
dependencies = [
('logs', '0012_auto_20201130_0131'),
]
operations = [
migrations.CreateModel(
name='ComplementCodeLogInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('status', models.BooleanField(default=True, help_text='Status', verbose_name='status')),
('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
('user_id', models.CharField(blank=True, db_index=True, help_text='\u7528\u6237\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='user_id')),
('log_id', shortuuidfield.fields.ShortUUIDField(blank=True, db_index=True, editable=False, help_text='\u65e5\u5fd7\u552f\u4e00\u6807\u8bc6', max_length=22)),
('name', models.CharField(blank=True, help_text='\u7528\u6237\u59d3\u540d', max_length=255, null=True, verbose_name='name')),
('phone', models.CharField(blank=True, db_index=True, help_text='\u7528\u6237\u7535\u8bdd', max_length=11, null=True, verbose_name='phone')),
('model_id', models.CharField(blank=True, db_index=True, help_text='\u578b\u53f7\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='model_id')),
('model_name', models.CharField(blank=True, help_text='\u578b\u53f7\u540d\u79f0', max_length=255, null=True, verbose_name='model_name')),
('sn', models.CharField(blank=True, db_index=True, help_text='\u5e8f\u5217\u53f7', max_length=32, null=True, verbose_name='sn')),
('shot_image', models.ImageField(blank=True, help_text='\u955c\u5934\u673a\u8eab\u7167\u7247', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='shot_image')),
('invoice_image', models.ImageField(blank=True, help_text='\u8d2d\u4e70\u51ed\u8bc1\u7167\u7247', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='invoice_image')),
],
options={
'verbose_name': '\u8865\u7801\u8bb0\u5f55',
'verbose_name_plural': '\u8865\u7801\u8bb0\u5f55',
},
),
]
|