Matomat/Matomat/Database/Tables/Tables.User.cs

137 lines
2.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace Matomat.Database.Tables
{
class TUser : Tables
{
public TUser()
{
}
public TUser(int id, long userid, string username, int credits, bool admin, string shortname, string email)
{
this._id = id;
this._userid = userid;
this._username = username;
this._credits = credits;
this._admin = admin;
this._shortname = shortname;
this._email = email;
}
private int _id;
public int id
{
get
{
return _id;
}
set
{
if (_id != value)
{
_id = value;
}
}
}
private long _userid;
public long userid
{
get
{
return _userid;
}
set
{
if (_userid != value)
{
_userid = value;
}
}
}
private string _username;
public string username
{
get
{
return _username;
}
set
{
if (_username != value)
{
_username = value;
}
}
}
private int _credits;
public int credits
{
get
{
return _credits;
}
set
{
if (_credits != value)
{
_credits = value;
}
}
}
private bool _admin;
public bool admin
{
get
{
return _admin;
}
set
{
if (_admin != value)
{
_admin = value;
}
}
}
private string _shortname;
public string shortname
{
get
{
return _shortname;
}
set
{
if (_shortname != value)
{
_shortname = value;
}
}
}
private string _email;
public string email
{
get
{
return _email;
}
set
{
if (_email != value)
{
_email = value;
}
}
}
}
}