userstate.cs

来自「一个网上书店的源码」· CS 代码 · 共 32 行

CS
32
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace MyBookShop.Models
{
	[Serializable()]
	public class UserState
	{

		private int id; 
		private string name;


		public UserState() { }

		public int Id
		{
			get { return this.id; }
			set { this.id = value; }
		}
		

		public string Name
		{
			get { return this.name; }
			set { this.name = value; }
		}		
		
	}
}

⌨️ 快捷键说明

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