forked from erp-dev/erp
30 lines
1.2 KiB
Python
30 lines
1.2 KiB
Python
# Generated by Django 5.2.7 on 2025-11-03 04:32
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('stock', '0005_product_created_at_product_updated_at_and_more'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='BankAccount',
|
|
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=100, verbose_name='名称')),
|
|
('auto_number', models.CharField(max_length=50, verbose_name='自动编号')),
|
|
('description', models.TextField(blank=True, null=True, verbose_name='备注描述')),
|
|
('attachment', models.FileField(blank=True, null=True, upload_to='bank_accounts/', verbose_name='附件')),
|
|
],
|
|
options={
|
|
'verbose_name': '银行账户',
|
|
'verbose_name_plural': '银行账户',
|
|
},
|
|
),
|
|
]
|