Advertisement
Guest User

Untitled

a guest
Jan 8th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. class User
  2. {
  3. string Name{get; set;}
  4. string Email{get;set;}
  5. Guid ID {get;set}
  6. }
  7.  
  8. class Information : ValueObject<Information>
  9. {
  10. string Name{get;set;}
  11. string Email{get;set;}
  12. }
  13.  
  14. class User : EntityBaseSupertype
  15. {
  16. Guid ID{get;set;}
  17. Information UserInfo{get;set;}
  18. //later on method to set USerInfo
  19. }
  20.  
  21. class Information : ValueObject<Information>
  22. {
  23. string Name {get;set;}
  24. string Email{get;set;}
  25. }
  26. class Contact : EntitiyBaseSupertype
  27. {
  28. Guid ID {get;set;}
  29. Information ContactInformation {get;set;}
  30. }
  31.  
  32. class User : Contact
  33. {
  34. //methods for Modifiers, and Getters
  35. //other buissnes logic
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement