Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ACCOUNT
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace QuickTrade.ModelsDTO
- {
- public class AccountDTO
- {
- public int Id { get; set; }
- public string Login { get; set; }
- public string Password { get; set; }
- }
- }
- //ADVERT
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace QuickTrade.ModelsDTO
- {
- public class AdvertDTO
- {
- public int Id { get; set; }
- public string Title { get; set; }
- public string Body { get; set; }
- public System.DateTime DateAdded { get; set; }
- public System.DateTime DateModified { get; set; }
- public string PhoneNumber { get; set; }
- public string EMail { get; set; }
- public string Category { get; set; }
- }
- }
- //IMAGES
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- namespace QuickTrade.ModelsDTO
- {
- public class ImagesDTO
- {
- public int Id { get; set; }
- public byte[] Image { get; set; }
- public int AdvertId { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement