LotteryDesc.cs 827 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace KJH55128_Rec.ViewModels
  6. {
  7. public class lotteryDesc
  8. {
  9. private string title;
  10. private string content;
  11. public string Title
  12. {
  13. get
  14. {
  15. return title;
  16. }
  17. set
  18. {
  19. title = value;
  20. }
  21. }
  22. public string Content
  23. {
  24. get
  25. {
  26. return content;
  27. }
  28. set
  29. {
  30. content = value;
  31. }
  32. }
  33. public lotteryDesc() {
  34. }
  35. public lotteryDesc(string title, string content)
  36. {
  37. this.Title = title;
  38. this.Content = content;
  39. }
  40. }
  41. }