📄 contents.cs
字号:
using System;
using System.Collections;
namespace Com.SMS.Entity
{
#region Content
/// <summary>
/// Content object for NHibernate mapped table 'Contents'.
/// </summary>
public class Content
{
#region Member Variables
protected int _conId;
protected string _content;
#endregion
#region Constructors
public Content() { }
public Content( string content )
{
this._content = content;
}
#endregion
#region Public Properties
public int ConId
{
get {return _conId;}
set {_conId = value;}
}
public string MessageContent
{
get { return _content; }
set
{
if ( value != null && value.Length > 140)
throw new ArgumentOutOfRangeException("Invalid value for Content", value, value.ToString());
_content = value;
}
}
#endregion
}
#endregion
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -