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

📄 memo.cs

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

namespace Org.InteliIM.Activities.Memos
{
	/// <summary>
	/// 日记本条目
	/// </summary>
	public class Memo
	{
		public Memo()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
		}

		private string owner;

		/// <summary>
		/// 拥有该日记本的用户 ID
		/// </summary>
		public string Owner
		{
			get
			{
				return this.owner;
			}
			set
			{
				this.owner = value;
			}
		}

		private DateTime date;

		/// <summary>
		/// 日期
		/// </summary>
		public DateTime Date
		{
			get
			{
				return this.date;
			}
			set
			{
				this.date = value;
			}
		}

		private string weather;

		/// <summary>
		/// 天气
		/// </summary>
		public string Weather
		{
			get
			{
				return this.weather;
			}
			set
			{
				this.weather = value;
			}
		}

		private string emotion;

		/// <summary>
		/// 情绪
		/// </summary>
		public string Emotion
		{
			get
			{
				return this.emotion;
			}
			set
			{
				this.emotion = value;
			}
		}

		private string content;

		/// <summary>
		/// 内容
		/// </summary>
		public string Content
		{
			get
			{
				return this.content;
			}
			set
			{
				this.content = value;
			}
		}

		private bool isPublic;

		/// <summary>
		/// 是否公开
		/// </summary>
		public bool IsPublic
		{
			get
			{
				return this.isPublic;
			}
			set
			{
				this.isPublic = value;
			}
		}

		private string backGroundImageSrc;

		/// <summary>
		/// 背景图片地址
		/// </summary>
		public string BackGroundImageSrc
		{
			get
			{
				return this.backGroundImageSrc;
			}
			set
			{
				this.backGroundImageSrc = value;
			}
		}

		private string backGroundMusicSrc;

		/// <summary>
		/// 背景音乐地址
		/// </summary>
		public string BackGroundMusicSrc
		{
			get
			{
				return this.backGroundMusicSrc;
			}
			set
			{
				this.backGroundMusicSrc = value;
			}
		}
	}
}

⌨️ 快捷键说明

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