16 lines
356 B
C#
16 lines
356 B
C#
using SQLite4Unity3d;
|
|
|
|
public class Person {
|
|
|
|
[PrimaryKey, AutoIncrement]
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Surname { get; set; }
|
|
public int Age { get; set; }
|
|
|
|
public override string ToString ()
|
|
{
|
|
return string.Format ("[Person: Id={0}, Name={1}, Surname={2}, Age={3}]", Id, Name, Surname, Age);
|
|
}
|
|
}
|