person.cs

来自「NHibernate NET开发者所需的」· CS 代码 · 共 50 行

CS
50
字号
using System;
using System.Collections;


namespace NHibernate.Test.NHSpecificTest.NH1326
{
	public class Person
	{
		private int id;
		private int iq;
		private int shoeSize;
		private string name;

		public Person()
		{

		}

		public Person(string name, int iq, int shoeSize)
		{
			this.name = name;
			this.iq = iq;
			this.shoeSize = shoeSize;
		}

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

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

		virtual public int IQ
		{
			get { return iq; }
			set { iq = value; }
		}

		virtual public int ShoeSize
		{
			get { return shoeSize; }
			set { shoeSize = value; }
		}
	}
}

⌨️ 快捷键说明

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