You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.3 KiB
Python
71 lines
2.3 KiB
Python
# Generated by Django 5.2.3 on 2025-07-15 18:07
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("payments", "0001_initial"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="AdditionalFees",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"reefer_daily_supplement",
|
|
models.DecimalField(decimal_places=2, default=3.0, max_digits=6),
|
|
),
|
|
(
|
|
"sweeping_fee",
|
|
models.DecimalField(decimal_places=2, default=35.0, max_digits=6),
|
|
),
|
|
(
|
|
"fumigation_fee",
|
|
models.DecimalField(decimal_places=2, default=75.0, max_digits=6),
|
|
),
|
|
],
|
|
options={
|
|
"verbose_name": "Additional Fees",
|
|
"verbose_name_plural": "Additional Fees",
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name="ContainerTariffPeriod",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"container_size",
|
|
models.CharField(
|
|
choices=[("20", "20 feet"), ("40", "40/45 feet")], max_length=2
|
|
),
|
|
),
|
|
("from_days", models.PositiveIntegerField()),
|
|
("to_days", models.PositiveIntegerField(blank=True, null=True)),
|
|
("daily_rate", models.DecimalField(decimal_places=2, max_digits=6)),
|
|
],
|
|
options={
|
|
"ordering": ["container_size", "from_days"],
|
|
"unique_together": {("container_size", "from_days")},
|
|
},
|
|
),
|
|
]
|