📄 user.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace ExamModel.Auto_Generated_Code
{
public class User
{
/// <summary>
/// 用户信息
/// </summary>
///
private int id;
private string uid;
private Department department;
private string userName = String.Empty;
private string password = String.Empty;
private bool sex;
private string address = String.Empty;
private string phone = String.Empty;
private string email = String.Empty;
private Role role;
//主键
public int ID
{
get { return this.id; }
set { this.id = value; }
}
//用户ID
public string UID
{
get { return this.uid; }
set { this.uid = value; }
}
//系
public Department UDepartment
{
get { return this.department; }
set { this.department = value; }
}
//用户名
public string UserName
{
get { return this.userName; }
set { this.userName = value; }
}
//密码
public string UPassWord
{
get { return this.password; }
set { this.password = value; }
}
//性别
public bool USex
{
get { return this.sex; }
set { this.sex = value; }
}
//地址
public string UAddress
{
get { return this.address; }
set { this.address = value; }
}
//电话
public string UPhone
{
get { return this.phone; }
set { this.phone = value; }
}
//电子邮件
public string UEmail
{
get { return this.email; }
set { this.email = value; }
}
//角色
public Role URole
{
get { return this.role; }
set { this.role = value; }
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -