Last active
March 14, 2023 18:10
-
-
Save flaviorl-net/d32f1799448d2017d4200c844667309a to your computer and use it in GitHub Desktop.
This file contains 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 Cliente | |
{ | |
[Key] | |
public int Id { get; private set; } | |
public string Nome { get; private set; } | |
public string Sobrenome { get; private set; } | |
public DateTime DataNascimento { get; private set; } | |
public bool Ativo { get; private set; } | |
public Cliente(string nome, string sobrenome, DateTime dataNascimento, bool ativo) | |
{ | |
Nome = nome; | |
Sobrenome = sobrenome; | |
DataNascimento = dataNascimento; | |
Ativo = ativo; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment