BuyList.cs 438 B

123456789101112131415161718
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace BooksManageSystem
  6. {
  7. public class BuyList
  8. {
  9. public int BID { get; set; }
  10. public int Count { get; set; }
  11. public DateTime BuyDate { get; set; }
  12. public override string ToString()
  13. {
  14. return BuyDate.ToString("yyyy-MM-dd HH:mm:ss") + "\t" + Count.ToString() + "本";
  15. }
  16. }
  17. }