Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created March 19, 2017 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsibinski/a1d1ca6c5380e0acc5c439f3060da9cc to your computer and use it in GitHub Desktop.
Save dsibinski/a1d1ca6c5380e0acc5c439f3060da9cc to your computer and use it in GitHub Desktop.
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