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

📄 meeting.cs

📁 该源代码用 C# 写成
💻 CS
字号:
using System;
using System.Collections.Specialized;

namespace Org.InteliIM
{
	/// <summary>
	/// 会议
	/// </summary>
	public class Meeting
	{
		private string id;
		
		/// <summary>
		/// 编号
		/// </summary>
		public string Id
		{
			get
			{
				if(this.id == null)
					this.id = "";

				return this.id;
			}
			set
			{
				this.id = value;
			}
		}
		
		private DateTime date = DateTime.Now;
		
		/// <summary>
		/// 召开时间
		/// </summary>
		public DateTime Date
		{
			get
			{
				return this.date;
			}
			set
			{
				this.date = value;
			}
		}
		
		private string subject;
		
		/// <summary>
		/// 会议主题
		/// </summary>
		public string Subject
		{
			get
			{
				if(this.subject == null)
					this.subject = "";

				return this.subject;
			}
			set
			{
				this.subject = value;
			}
		}

		private string address;
		
		/// <summary>
		/// 召开地点
		/// </summary>
		public string Address
		{
			get
			{
				if(this.address == null)
					this.address = "";

				return this.address;
			}
			set
			{
				this.address = value;
			}
		}
		
		private StringCollection participantIds;
		
		/// <summary>
		/// 参加人员用户名集合
		/// </summary>
		public StringCollection ParticipantIds
		{
			get
			{
				if(this.participantIds == null)
					this.participantIds = new StringCollection();

				return this.participantIds;
			}
			set
			{
				this.participantIds = value;
			}
		}
		
		/// <summary>
		/// 参加人员数
		/// </summary>
		public int ParticipantsCount
		{
			get
			{
				return this.ParticipantIds.Count;
			}
		}
		
		private string chairmanId;
		
		/// <summary>
		/// 主席用户名
		/// </summary>
		public string ChairmanId
		{
			get
			{
				if(this.chairmanId == null)
					this.chairmanId = "";

				return this.chairmanId;
			}
			set
			{
				this.chairmanId = value;
			}
		}
		
		private string description;
		
		/// <summary>
		/// 描述
		/// </summary>
		public string Description
		{
			get
			{
				if(this.description == null)
					this.description = "";

				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
	}
}

⌨️ 快捷键说明

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