# Generated by Django 5.0.4 on 2024-09-10 11:24
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("engagements", "0004_regulatorycycle_alter_engagementeffort_effort_type"),
]
operations = [
migrations.CreateModel(
name="EngagementStrategy",
fields=[
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
("date_created", models.DateTimeField(auto_now_add=True)),
("last_modified", models.DateTimeField(auto_now=True)),
("name", models.CharField(max_length=128)),
("description", models.TextField(max_length=1024)),
("inspector_sign_off", models.DateField(blank=True, null=True)),
("management_sign_off", models.DateField(blank=True, null=True)),
(
"status",
models.CharField(
choices=[
("DRAFT", "Draft"),
("SUBMITTED", "Submitted"),
("APPROVED", "Approved"),
("REJECTED", "Rejected"),
],
default="DRAFT",
max_length=32,
),
),
(
"end_year",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="end_year",
to="engagements.regulatorycycle",
),
),
(
"organisation",
models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to="engagements.organisation"),
),
(
"start_year",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="start_year",
to="engagements.regulatorycycle",
),
),
],
options={
"abstract": False,
},
),
]