コード例 #1
0
ファイル: Account.cs プロジェクト: mjeco/dvdrental
 public Account(int newAccID, Customer newCustomer)
 {
     accID = newAccID;
     customer = newCustomer;
     joinFee = 20;
     rentFee = 0;
     lateFee = 0;
 }
コード例 #2
0
ファイル: StockItem.cs プロジェクト: mjeco/dvdrental
 public StockItem(int newStockID, Game newGame, Customer newCustomer)
 {
     stockID = newStockID;
     game = newGame;
     customer = newCustomer;
     isRented = false;
     isReserved = false;
     issueDate = new DateTime();
     dueDate = new DateTime();
 }
コード例 #3
0
ファイル: StockItem.cs プロジェクト: mjeco/dvdrental
 public StockItem(int newStockID, DateTime newIssueDate, DateTime newDueDate, bool newIsRented, bool newIsReserved, bool newIsDamaged, Game newGame, Customer newCustomer)
 {
     stockID = newStockID;
     game = newGame;
     customer = newCustomer;
     isRented = newIsRented;
     isReserved = newIsReserved;
     issueDate = newIssueDate;
     dueDate = newDueDate;
 }
コード例 #4
0
ファイル: StockItem.cs プロジェクト: mjeco/dvdrental
 public bool RentGame(Customer customer, DateTime issueDate, DateTime dueDate)
 {
     //--Code Here--//
     return true;
 }