Advertisement
Cieslin

ModelQuickTrade

May 29th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.15 KB | None | 0 0
  1. //ACCOUNT
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Web;
  6.  
  7. namespace QuickTrade.ModelsDTO
  8. {
  9.     public class AccountDTO
  10.     {
  11.         public int Id { get; set; }
  12.         public string Login { get; set; }
  13.         public string Password { get; set; }
  14.     }
  15. }
  16.  
  17. //ADVERT
  18. using System;
  19. using System.Collections.Generic;
  20. using System.Linq;
  21. using System.Web;
  22.  
  23. namespace QuickTrade.ModelsDTO
  24. {
  25.     public class AdvertDTO
  26.     {
  27.         public int Id { get; set; }
  28.         public string Title { get; set; }
  29.         public string Body { get; set; }
  30.         public System.DateTime DateAdded { get; set; }
  31.         public System.DateTime DateModified { get; set; }
  32.         public string PhoneNumber { get; set; }
  33.         public string EMail { get; set; }
  34.         public string Category { get; set; }
  35.     }
  36. }
  37.  
  38. //IMAGES
  39. using System;
  40. using System.Collections.Generic;
  41. using System.Linq;
  42. using System.Web;
  43.  
  44. namespace QuickTrade.ModelsDTO
  45. {
  46.     public class ImagesDTO
  47.     {
  48.         public int Id { get; set; }
  49.         public byte[] Image { get; set; }
  50.         public int AdvertId { get; set; }
  51.     }
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement