publisher.cs

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

CS
34
字号


using System;
using System.Collections.Generic;
using System.Text;

namespace MyBookShop.Models
{

	[Serializable()]
	public class Publisher
	{

		private int id; 
		private string name = String.Empty;

		public Publisher() { }


		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 + -
显示快捷键?