Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User
- {
- string Name{get; set;}
- string Email{get;set;}
- Guid ID {get;set}
- }
- class Information : ValueObject<Information>
- {
- string Name{get;set;}
- string Email{get;set;}
- }
- class User : EntityBaseSupertype
- {
- Guid ID{get;set;}
- Information UserInfo{get;set;}
- //later on method to set USerInfo
- }
- class Information : ValueObject<Information>
- {
- string Name {get;set;}
- string Email{get;set;}
- }
- class Contact : EntitiyBaseSupertype
- {
- Guid ID {get;set;}
- Information ContactInformation {get;set;}
- }
- class User : Contact
- {
- //methods for Modifiers, and Getters
- //other buissnes logic
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement