public BranchHour(LibraryBranch branchId, int closeTime, DayOfWeek dayOfWeek, int openTime) { this.Branch = branchId; this.DayOfWeek = dayOfWeek; this.OpenTime = openTime; this.CloseTime = closeTime; }
public Book(double cost, LibraryBranch location, StatusId status, string title, int year, string imageUrl, int numberOfCopies, string isbn, string author, string deweyIndex) : base(cost, location, status, title, year, imageUrl, numberOfCopies) { ISBN = isbn.Replace("-", ""); Author = author; DeweyIndex = deweyIndex; }
public Patron(string address, DateTime dateOfBirth, string firstName, LibraryBranch homeLibraryBranch, string lastName, LibraryCard libraryCard) { Address = address; DateOfBirth = dateOfBirth; FirstName = firstName; HomeLibraryBranch = homeLibraryBranch; LastName = lastName; LibraryCard = libraryCard; }
public LibraryAsset(double cost, LibraryBranch location, StatusId status, string title, int year, string imageUrl, int numberOfCopies) { Cost = Convert.ToDecimal(cost); Location = location; Status = new Status(status); Title = title; Year = (short)year; NumberOfCopies = numberOfCopies; ImageUrl = ImageChecker(imageUrl); }
public Video(double cost, LibraryBranch location, StatusId status, string title, short year, string imageUrl, int numberOfCopies, string director) : base(cost, location, status, title, year, imageUrl, numberOfCopies) { this.Director = director; }