Deck.cs 968 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System;
  2. using System.Net;
  3. using System.Windows;
  4. using System.Windows.Controls;
  5. using System.Windows.Documents;
  6. using System.Windows.Ink;
  7. using System.Windows.Input;
  8. using System.Windows.Media;
  9. using System.Windows.Media.Animation;
  10. using System.Windows.Shapes;
  11. using System.Collections.Generic;
  12. namespace VocabManager.Model
  13. {
  14. public class Deck
  15. {
  16. public Deck()
  17. {
  18. }
  19. public int Id
  20. {
  21. get;
  22. set;
  23. }
  24. public DateTime CreationTime
  25. {
  26. get;
  27. set;
  28. }
  29. public string Name
  30. {
  31. get;
  32. set;
  33. }
  34. public string Description
  35. {
  36. get;
  37. set;
  38. }
  39. internal static Deck CreateNew()
  40. {
  41. return new Deck() { Id=-1,Name= string.Empty,Description = string.Empty};
  42. }
  43. }
  44. }