Last active
June 6, 2019 19:54
-
-
Save phillippelevidad/8a5bf45a5fd99aea8048742542105e06 to your computer and use it in GitHub Desktop.
Customer Entity, after new requirements.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Customer : Entity | |
{ | |
[Id] | |
public Guid Id { get; set; } | |
[Required] | |
[MaxLength(50) | |
public string Name { get; set; } | |
public DateTime BirthDate { get; set; } | |
public CustomerLevel Level { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment