34 lines
1.3 KiB
Python
34 lines
1.3 KiB
Python
# Generated by Django 5.2.8 on 2025-11-08 14:21
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Claim',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('full_name', models.CharField(max_length=255)),
|
|
('email', models.EmailField(max_length=254)),
|
|
('amount', models.DecimalField(decimal_places=2, max_digits=10)),
|
|
('description', models.TextField(help_text='Describe what the reimbursement is for')),
|
|
('account_number', models.CharField(max_length=50)),
|
|
('receipt', models.FileField(blank=True, null=True, upload_to='receipts/')),
|
|
('status', models.CharField(choices=[('pending', 'Pending'), ('approved', 'Approved'), ('rejected', 'Rejected')], default='pending', max_length=20)),
|
|
('decision_note', models.TextField(blank=True)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'ordering': ['-created_at'],
|
|
},
|
|
),
|
|
]
|