Skip to content

Instantly share code, notes, and snippets.

@dsibinski

dsibinski/Person.cs

Created Mar 19, 2017
Embed
What would you like to do?
namespace MoneyBack.Entities
{
[Table("People")]
public class Person
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string Name { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
public string Email { get; set; }
public override string ToString()
{
return $"[Person: Id={Id}, Name={Name}, LastName={LastName}, PhoneNumber={PhoneNumber}, Email={Email}]";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment