forked from erp-dev/erp
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# Generated by Codex on 2026-06-30
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('cost', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='costentry',
|
|
name='amount',
|
|
field=models.DecimalField(blank=True, decimal_places=2, max_digits=15, verbose_name='金额'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='costentry',
|
|
name='unit_amount',
|
|
field=models.DecimalField(blank=True, decimal_places=4, max_digits=15, null=True, verbose_name='单价/基数金额'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='costentry',
|
|
name='quantity',
|
|
field=models.DecimalField(blank=True, decimal_places=4, max_digits=12, null=True, verbose_name='数量/倍数'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='costentry',
|
|
name='unit_name',
|
|
field=models.CharField(blank=True, max_length=20, null=True, verbose_name='单位名称'),
|
|
),
|
|
]
|