Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Update models.py #51

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Django_api/airline/api_common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Meta:

class BookingType(models.Model):
type = models.CharField(max_length=30) # 例如:'Flexible', 'Non-refundable'
class_type = models.CharField(max_length=30, choices=[('first', 'First Class'), ('second', 'Second Class')])
#class_type = models.CharField(max_length=30, choices=[('first', 'First Class'), ('second', 'Second Class')])
price = models.FloatField(null=True)

class Meta:
Expand Down
Loading