public AccountBook(DateTime date_take, int namer) { date_returns_book = new DateTime(); date_taken_book = date_take; //name_book = new Book(nameb.Authors_book, nameb.Date_publishing, nameb.Name_book, nameb.Name_publisher, nameb.Place_of_publishing,nameb.Libray_code); //name_destination = new Reader(namer.Date_get, namer.Number_readticket, namer.Person.Name_Person, namer.Person.Patronymic_Name, namer.Person.Surname); take_or_returns = TakesorReturns.Taken; num_destination = namer; }
public Book(Book b) { authors_book = new List <Person>(); account = new List <AccountBook>(); authors_book.AddRange(b.Authors_book); name_book = b.Name_book; date_of_publishing = b.Date_publishing; place_of_publishing = b.Place_of_publishing; name_publisher = b.Name_publisher; take_or_returns = TakesorReturns.Returned; }
public Book(List <Person> authors, int datepub, string nameb, string namep, string placepub, string lib_code) { authors_book = new List <Person>(); account = new List <AccountBook>(); name_book = nameb; authors_book.AddRange(authors); date_of_publishing = datepub; place_of_publishing = placepub; name_publisher = namep; library_code = lib_code; take_or_returns = TakesorReturns.Returned; }
public Book() { authors_book = new List <Person>(); account = new List <AccountBook>(); take_or_returns = TakesorReturns.Returned; }