⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 train_shuxing.cs

📁 火车订票系统 火车订票系统 火车订票系统
💻 CS
字号:
using System;

namespace Model
{
	/// <summary>
	/// Train_shuxing 的摘要说明---颜政.
	/// </summary>
	public class Train_shuxing
	{
		private string _schedulecode;
		private string _fromcity;
		private string _tocity;
		private DateTime _leavetime;
		private DateTime _arrivaltime;
		private string _traintype;
		private string _speed;
		private int _distance;
		private int _days;
		private int _sumPrice;
		public int SumPrice
		{
			set{ _sumPrice=value;}
			get{return _sumPrice;}
		}


		public Train_shuxing()
		{
		}

		public Train_shuxing(string startCity,string endCity)
		{
			this._fromcity=startCity;
			this._tocity=endCity;
		}
		public Train_shuxing(string Checi)
		{
			this._schedulecode=Checi;
		}



		/// <summary>
		/// 列车代码属性
		/// </summary>
		public string schedulecode
		{
			set{ _schedulecode=value;}
			get{return _schedulecode;}
		}
		/// <summary>
		/// 出发城市属性
		/// </summary>
		public string fromcity
		{
			set{ _fromcity=value;}
			get{return _fromcity;}
		}
		/// <summary>
		/// 目的城市属性
		/// </summary>
		public string tocity
		{
			set{ _tocity=value;}
			get{return _tocity;}
		}
		/// <summary>
		/// 离开时间
		/// </summary>
		public DateTime leavetime
		{
			set{ _leavetime=value;}
			get{return _leavetime;}
		}
		/// <summary>
		/// 到达时间
		/// </summary>
		public DateTime arrivaltime
		{
			set{ _arrivaltime=value;}
			get{return _arrivaltime;}
		}
		/// <summary>
		///列车类型
		/// </summary>
		public string traintype
		{
			set{ _traintype=value;}
			get{return _traintype;}
		}
		/// <summary>
		/// 列车种类
		/// </summary>
		public string speed
		{
			set{ _speed=value;}
			get{return _speed;}
		}
		/// <summary>
		/// 里程数
		/// </summary>
		public int distance
		{
			set{ _distance=value;}
			get{return _distance;}
		}
		/// <summary>
		/// 天数
		/// </summary>
		public int days
		{
			set{ _days=value;}
			get{return _days;}
		}
	}
}

⌨️ 快捷键说明

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