35 lines
		
	
	
		
			816 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			816 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using Core.Abstractions;
 | |
| using Core.Abstractions.DomainObjects;
 | |
| using Core.DomainObjects;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Threading.Tasks;
 | |
| 
 | |
| namespace Core.DomainObjects {
 | |
| 
 | |
| 
 | |
|   public class User : DomainObjectDocumentBase<User> {
 | |
|     public string NickName { get; set; }
 | |
| 
 | |
|     public string Hash { get; set; }
 | |
|     public string Salt { get; set; }
 | |
| 
 | |
|     public string Name { get; set; }
 | |
|     public string LastName { get; set; }
 | |
| 
 | |
|     public Contact Email { get; set; }
 | |
|     public Contact Mobile { get; set; }
 | |
| 
 | |
|     public Address BillingAddress { get; set; }
 | |
|     public Address ShippingAddress { get; set; }
 | |
| 
 | |
|     // manage whitelisted tokens as salted hash
 | |
| 
 | |
|     public override int GetHashCode() {
 | |
|       throw new NotImplementedException();
 | |
|     }
 | |
|   }
 | |
| }
 |