forked from erp-dev/erp
28 lines
961 B
Python
28 lines
961 B
Python
# Generated by Django 5.2.7 on 2025-11-03 05:28
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('stock', '0009_alter_product_single_price'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='ProdictUnit',
|
|
fields=[
|
|
('created_at', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
|
|
('updated_at', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
|
|
('id', models.BigAutoField(primary_key=True, serialize=False)),
|
|
('name', models.CharField(max_length=20, verbose_name='单位名称')),
|
|
('description', models.TextField(blank=True, null=True, verbose_name='备注描述')),
|
|
],
|
|
options={
|
|
'verbose_name': '产品单位',
|
|
'verbose_name_plural': '产品单位',
|
|
},
|
|
),
|
|
]
|