affiches.cs

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

CS
78
字号
using System;

namespace Com.SMS.Entity
{
	#region Affiches
	/// <summary>
	/// Affiches 的摘要说明。
	/// </summary>
	public class Affiches
	{
		#region Member Variables
		
		protected int _aId;
		protected string _aTitle;
		protected string _aContent;
		protected int _sendId;
		protected DateTime _sendTime;

		#endregion

		#region Constructors

		public Affiches() { }

		public Affiches(string aTitle, string aContent,int sendId, DateTime sendTime)
		{
			this._aTitle = aTitle;
			this._aContent = aContent;
			this._sendId = sendId;
			this._sendTime = _sendTime;
		}

		#endregion

		#region Public Properties

		public int AId
		{
			get {return _aId;}
			set {_aId = value;}
		}

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

		public string AContent
		{
			get { return _aContent; }
			set
			{
				_aContent = value;
			}
		}

		public int SendId
		{
			get { return _sendId; }
			set { _sendId = value; }
		}

		public DateTime SendTime
		{
			get { return _sendTime; }
			set { _sendTime = value; }
		}
		#endregion
	}
	#endregion
}

⌨️ 快捷键说明

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