Advertisement
Guest User

Untitled

a guest
Mar 9th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. public class User
  2. {
  3. public int ID { get; set; }
  4. public string Username { get; set; }
  5. public string Password { get; set; }
  6. public ICollection<int> PostIds { get; set; }
  7.  
  8. public User(int id, string username, string password, IEnumerable<int> postIds)
  9. {
  10. this.ID = id;
  11. this.Username = username;
  12. this.Password = password;
  13. this.PostIds = new List<int>(postIds);
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement