Created
August 20, 2016 17:11
-
-
Save pauliusdotpro/876c1254f5d305f9649048084890644b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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