using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace Tiger.Model
|
{
|
|
[Serializable]
|
[Description("Primary:")]
|
[SugarTable("User")]
|
public class User
|
{
|
private string _id = null;
|
|
private string _usercode = null;
|
|
private string _username = null;
|
|
private string _rolecode = null;
|
|
private string _password = null;
|
|
[SugarColumn(IsPrimaryKey = true)]
|
public string id
|
{
|
get
|
{
|
return _id;
|
}
|
set
|
{
|
_id = value;
|
}
|
}
|
|
public string UserCode
|
{
|
get
|
{
|
return _usercode;
|
}
|
set
|
{
|
_usercode = value;
|
}
|
}
|
|
public string UserName
|
{
|
get
|
{
|
return _username;
|
}
|
set
|
{
|
_username = value;
|
}
|
}
|
|
public string RoleCode
|
{
|
get
|
{
|
return _rolecode;
|
}
|
set
|
{
|
_rolecode = value;
|
}
|
}
|
|
public string Password
|
{
|
get
|
{
|
return _password;
|
}
|
set
|
{
|
_password = value;
|
}
|
}
|
}
|
}
|