Exemplo n.º 1
0
 public Customer(string name, int customerId, int phoneNumber, string email, string address, OrderCollection oc)
 {
     Name            = name;
     CustomerId      = customerId;
     PhoneNumber     = phoneNumber;
     Email           = email;
     Address         = address;
     orderCollection = oc;
 }
Exemplo n.º 2
0
 public Chef(string n, int id, string ic, char _gender, DateTime _datejoined, string _status, OrderCollection oc)
 {
     name            = n;
     employeeID      = id;
     nric            = ic;
     gender          = _gender;
     dateJoined      = _datejoined;
     status          = _status;
     ordercollection = oc;
 }
Exemplo n.º 3
0
 public Manager(int id, string _name, string _nric, char _gender, string _status,
                OrderCollection oc, DateTime _dateJoined, DateTime startDate)
 {
     employeeID       = id;
     name             = _name;
     nric             = _nric;
     gender           = _gender;
     status           = _status;
     orderCollection  = oc;
     dateJoined       = _dateJoined;
     companyStartDate = startDate;
 }
Exemplo n.º 4
0
 public Dispatcher(string _name, int _employeeId, string _nric,
                   char _gender, DateTime _datejoined, string _status,
                   OrderCollection oc)
 {
     name            = _name;
     employeeID      = _employeeId;
     nric            = _nric;
     gender          = _gender;
     dateJoined      = _datejoined;
     status          = _status;
     orderCollection = oc;
 }