From 0436828789102fbb834142e99135bb9fae79fb67 Mon Sep 17 00:00:00 2001 From: rj2-ingham <ryan2.ingham@live.uwe.ac.uk> Date: Tue, 1 Nov 2022 20:26:03 +0000 Subject: [PATCH] First commit with user types --- AccountManager.py | 6 ++++++ CinemaManager.py | 6 ++++++ Club.py | 6 ++++++ ClubRepresentative.py | 10 ++++++++++ Film.py | 7 +++++++ Ticket.py | 10 ++++++++++ User.py | 4 ++++ 7 files changed, 49 insertions(+) create mode 100644 AccountManager.py create mode 100644 CinemaManager.py create mode 100644 Club.py create mode 100644 ClubRepresentative.py create mode 100644 Film.py create mode 100644 Ticket.py create mode 100644 User.py diff --git a/AccountManager.py b/AccountManager.py new file mode 100644 index 00000000..8279f8f6 --- /dev/null +++ b/AccountManager.py @@ -0,0 +1,6 @@ +from User import User + +class AccountManager(User): + + def __init__(self): + self.name \ No newline at end of file diff --git a/CinemaManager.py b/CinemaManager.py new file mode 100644 index 00000000..ce125218 --- /dev/null +++ b/CinemaManager.py @@ -0,0 +1,6 @@ +from User import User + +class CinemaManager(User): + + def __init__(self): + self.name \ No newline at end of file diff --git a/Club.py b/Club.py new file mode 100644 index 00000000..adf54755 --- /dev/null +++ b/Club.py @@ -0,0 +1,6 @@ +class Club: + + def __init__(self): + self.name + self.addressDetails = [] + self.contact diff --git a/ClubRepresentative.py b/ClubRepresentative.py new file mode 100644 index 00000000..f0b84d71 --- /dev/null +++ b/ClubRepresentative.py @@ -0,0 +1,10 @@ +from User import User + +class ClubRepresentative(User): + + def __init__(self): + self.firstName + self.lastName + self.dob + self.clubRepNumber + self.clubPassword \ No newline at end of file diff --git a/Film.py b/Film.py new file mode 100644 index 00000000..933763f4 --- /dev/null +++ b/Film.py @@ -0,0 +1,7 @@ +class Film: + + def __init__(self): + self.title + self.ageRating + self.duration + self.description \ No newline at end of file diff --git a/Ticket.py b/Ticket.py new file mode 100644 index 00000000..2c2a2829 --- /dev/null +++ b/Ticket.py @@ -0,0 +1,10 @@ +from this import d + + +class Ticket: + + def __init__(self): + self.isClubTicket + self.film + self.time + self. \ No newline at end of file diff --git a/User.py b/User.py new file mode 100644 index 00000000..21d524e8 --- /dev/null +++ b/User.py @@ -0,0 +1,4 @@ +class User: + + def __init__(self): + self.name \ No newline at end of file -- GitLab