Beispiel #1
0
 public Employee(int id, string firstName, string lastName, string accountNr, string reg, string phone, DateTime dateOfBirth, Addresses address, Department department, Shop shop, string role, string email = "ingen")
 {
     Id          = id;
     FirstName   = firstName;
     LastName    = lastName;
     AccountNr   = accountNr;
     Reg         = reg;
     Email       = email;
     Phone       = phone;
     DateOfBirth = dateOfBirth;
     Address     = address;
     Departments = department;
     Shop        = shop;
     Role        = role;
 }
Beispiel #2
0
 public Customer_Addresses(Addresses address, Customer customer, Address_Type adresseType)
 {
     AdresseType = adresseType;
     Address     = address;
     Customer    = customer;
 }
Beispiel #3
0
 //Constructor
 public Shop(int id, Addresses address)
 {
     Id      = id;
     Address = address;
 }
Beispiel #4
0
 public Order(int id, DateTime created, Customer customer, Order_Delivery_Method deliveryMethod, Addresses deliveryAddress, Order_Status status)
 {
     Id              = id;
     Created         = created;
     Customer        = customer;
     DeliveryAddress = deliveryAddress;
     DeliveryMethod  = deliveryMethod;
     Status          = status;
 }
Beispiel #5
0
 public Shop(Addresses address)
 {
     Address = address;
 }