Skip to content

Instantly share code, notes, and snippets.

@pauliusdotpro
Created August 20, 2016 17:11
Show Gist options
  • Save pauliusdotpro/876c1254f5d305f9649048084890644b to your computer and use it in GitHub Desktop.
Save pauliusdotpro/876c1254f5d305f9649048084890644b to your computer and use it in GitHub Desktop.
namespace Gamemode.AsanDB
{
class Player : SimpleORM
{
private int id;
private string username;
private string ip;
public int _id
{
get { return id; }
set { id = value; }
}
public string _username
{
get { return username; }
set { username = value; }
}
public string _ip
{
get { return ip; }
set { ip = value; }
}
public Player()
{
table_ = "players";
pk_ = "id";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment