user.cs

来自「工作流引擎」· CS 代码 · 共 64 行

CS
64
字号
using System;

namespace WorkFlow.user
{
	/// <summary>
	/// User 的摘要说明。
	/// </summary>
	public class User
	{
		private int autoid = -1;       //用户编号
		private string userid = "";    //用户代号
		private string name = "";      //用户姓名
		private int depid = -1;        //用户所在部门编号 int型
		private string depcode = "";   //用户所在部门编码 字符型

		public User()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
		}

		public User(int autoid, string userid, string name, int depid, string depcode)
		{
			this.autoid = autoid;
			this.userid = userid;
			this.name = name;
			this.depid = depid;
			this.depcode = depcode;
		}

		public int getAutoid()
		{
			return this.autoid;
		}

		public string getUserid()
		{
			return this.userid;
		}

		public string getName()
		{
			return this.name;
		}

		public int getDepid()
		{
			return this.depid;
		}

		public string getDepcode()
		{
			return this.depcode;
		}

		public override string ToString()
		{
			return this.name;
		}

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?