basesubject.cs

来自「使用工具为.net2003」· CS 代码 · 共 127 行

CS
127
字号
/*****************************************************************************************************
*
* 作    者: 夏竹青
*
* 创建日期:2006-11-6
*
* 功能描述:基类,科目表字段属性 
*
*
* 处理过程:基类,科目表字段属性
*
*
* 调用说明:在BusinessLayer层及DataLayer层中继承以及实例化,以使用其各属性
*
* 
*************************************************************************************************/
using System;

namespace AbstractLayer
{
	/// <summary>
	/// Summary description for baseSubject.
	/// </summary>
	public abstract class baseSubject
	{
		private string _subjectID;//科目代码
		private string _subjectName;//科目名称
		private string _memId;//助记码
		private string _subjectCat;//科目类别
		private string _hasSubject;//是否存货科目
		private string _balanceDirec;//余额方向
		private string _quantityUnit;//数量单位
 
		//for subjectID
		public string subjectID
		{
			get {return _subjectID;}
			set
			{
				if(value !=_subjectID)
				{
					_subjectID = value;
				}
			}
		}

		//for subjectName
		public string subjectName
		{
			get{return _subjectName;}
			set
			{
				if(value !=_subjectName)
				{
					_subjectName = value;
				}
			}
		}

		//for memId
		public string memId
		{
			get{return _memId;}
			set
			{
				if(value !=_memId)
				{
					_memId = value;
				}
			}
		}

		//for subjectCat
		public string subjectCat
		{
			get{return _subjectCat;}
			set
			{
				if(value !=_subjectCat)
				{
					_subjectCat = value;
				}
			}
		}

		//for hasSubject
		public string hasSubject
		{
			get{return _hasSubject;}
			set
			{
				if(value !=_hasSubject)
				{
					_hasSubject = value;
				}
			}
		}

		//for balanceDirec
		public string balanceDirec
		{
			get{return _balanceDirec;}
			set
			{
				if(value!=_balanceDirec)
				{
					_balanceDirec = value;
				}
			}
		}

		//for quantityUnit
		public string quantityUnit
		{
			get{return _quantityUnit;}
			set
			{
				if(value!=_quantityUnit)
				{
					_quantityUnit = value;
				}
			}
		}

	}
}

⌨️ 快捷键说明

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