bookorder.cs

来自「客户关系管理系统」· CS 代码 · 共 74 行

CS
74
字号
using System;

namespace HKeBookshop
{
	/// <summary>
	/// BookOrder 的摘要说明。
	/// </summary>
	public class BookOrder
	{
		
			string bookid;
			string bookname;
			decimal price;
			int quantity;

			public string BookId
			{
				get
				{
					return bookid;
				}
				set
				{
					bookid=value;
				}
			}

			public string BookName
			{
				get
				{
					return bookname;
				}
				set
				{
					bookname=value;
				}
			}

			public int Quantity
			{
				get
				{
					return quantity;
				}
				set
				{
					quantity=value;
				}
			}
					
		    public decimal Price
			{
				get
				{
					return price;
				}
				set
				{
					price=value;
				}
			}
			public BookOrder(string BookId,string BookName,decimal Price, int Quantity)
			{
				bookid = BookId;
				bookname = BookName;
				price = Price;
				quantity = Quantity;
			}
		
	}
		
}

⌨️ 快捷键说明

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