Example #1
0
 public Delivery(int ID_Delivery, DateTime Data, Employee EmployeeDelivery, Reader Reader1, Exemplar Exemplar1)
 {
     this.ID_Delivery      = ID_Delivery;
     this.Data             = Data;
     this.EmployeeDelivery = EmployeeDelivery;
     this.Reader1          = Reader1;
     this.Exemplar1        = Exemplar1;
 }
Example #2
0
        static void Main(string[] args)
        {
            Book     Book     = new Book(1, "Пушкин", "Руслан и Людмила", "Поэма");
            Exemplar exemplar = new Exemplar(1, Book, DateTime.Now, "Exmo");
            Position position = new Position(1, "Библиотекарь");
            Reader   reader   = new Reader(1, "Семенов", "Игорь", "Евгеньевич", "муж.", 79835);
            Employee employee = new Employee(1, position, "Петрова", "Людмила", "Сергеевна", 345678892, 4);
            Delivery delivery = new Delivery(1, DateTime.Now, employee, reader, exemplar);

            delivery.Info();
            Console.ReadLine();
        }