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

📄 album.cs

📁 企业内部的短信交流管理平台。 设计详细
💻 CS
字号:
using System;
using System.Collections;

namespace Com.SMS.Entity
{
	#region Album

	/// <summary>
	/// Album object for NHibernate mapped table 'Album'.
	/// </summary>
	public class Album
	{
		#region Member Variables
		
		protected int _abId;
		protected string _alName;
		protected int _typeId;
		protected int _userId;
		protected string _alFace;

		#endregion

		#region Constructors

		public Album() { }

		public Album( string alName, int typeId, int userId, string alFace )
		{
			this._alName = alName;
			this._typeId = typeId;
			this._userId = userId;
			this._alFace = alFace;
		}

		#endregion

		#region Public Properties

		public int AbId
		{
			get {return _abId;}
			set {_abId = value;}
		}

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

		public int TypeId
		{
			get { return _typeId; }
			set { _typeId = value; }
		}

		public int UserId
		{
			get { return _userId; }
			set { _userId = value; }
		}

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

		

		#endregion
	}
	#endregion
}

⌨️ 快捷键说明

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