albumtype.cs

来自「企业内部的短信交流管理平台。 设计详细」· CS 代码 · 共 55 行

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

namespace Com.SMS.Entity
{
	#region AlbumType

	/// <summary>
	/// AlbumType object for NHibernate mapped table 'AlbumType'.
	/// </summary>
	public class AlbumType
	{
		#region Member Variables
		
		protected int _abtId;
		protected string _typeName;

		#endregion

		#region Constructors

		public AlbumType() { }

		public AlbumType( string typeName )
		{
			this._typeName = typeName;
		}

		#endregion

		#region Public Properties

		public int AbtId
		{
			get {return _abtId;}
			set {_abtId = value;}
		}

		public string TypeName
		{
			get { return _typeName; }
			set
			{
				if ( value != null && value.Length > 140)
					throw new ArgumentOutOfRangeException("Invalid value for TypeName", value, value.ToString());
				_typeName = value;
			}
		}

		

		#endregion
	}
	#endregion
}

⌨️ 快捷键说明

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