Commit 762bd4f3 authored by Stephanie Tullao's avatar Stephanie Tullao

Made modifications on some fields

parent cc202eae
......@@ -5,9 +5,9 @@ from django.core.validators import RegexValidator,EmailValidator
class Passenger(models.Model):
P_ID = models.AutoField(primary_key=True, editable=False, unique=True)
Fname = models.CharField(max_length=50)
MI = models.CharField(max_length=50)
Lname = models.CharField(max_length = 50)
First_Name = models.CharField(max_length=50)
Middle_Initial = models.CharField(max_length=50)
Last_Name = models.CharField(max_length = 50)
Birthdate = models.DateField
Age = models.CharField(max_length=3)
male = 'Male'
......@@ -57,7 +57,7 @@ class Booking_Sched(models.Model):
class Additional_Item(models.Model):
Description = models.CharField(max_length=50, primary_key=True, editable=False, unique=True)
Item_Cost = models.CharField(max_length=20)
Item_Cost = models.IntegerField(default=0)
class Booking_AddItem(models.Model):
class Meta:
......@@ -75,8 +75,8 @@ class City(models.Model):
class Crew_Member(models.Model):
Employee_ID = models.AutoField(primary_key=True, editable=False, unique=True)
Fname = models.CharField(max_length=50)
Lname = models.CharField(max_length=50)
First_Name = models.CharField(max_length=50)
Last_Name = models.CharField(max_length=50)
pilot = 'Pilot'
flight_attendant = 'Flight Attendant'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment