popedom.cs
来自「企业内部的短信交流管理平台。 设计详细」· CS 代码 · 共 68 行
CS
68 行
using System;
using System.Collections;
namespace Com.SMS.Entity
{
#region Popedom
/// <summary>
/// Popedom object for NHibernate mapped table 'Popedom'.
/// </summary>
public class Popedom
{
#region Member Variables
protected int _pdId;
protected string _pdName;
protected string _pdPath;
#endregion
#region Constructors
public Popedom() { }
public Popedom( string pdName, string pdPath )
{
this._pdName = pdName;
this._pdPath = pdPath;
}
#endregion
#region Public Properties
public int PdId
{
get {return _pdId;}
set {_pdId = value;}
}
public string PdName
{
get { return _pdName; }
set
{
if ( value != null && value.Length > 100)
throw new ArgumentOutOfRangeException("Invalid value for PdName", value, value.ToString());
_pdName = value;
}
}
public string PdPath
{
get { return _pdPath; }
set
{
if ( value != null && value.Length > 500)
throw new ArgumentOutOfRangeException("Invalid value for PdPath", value, value.ToString());
_pdPath = value;
}
}
#endregion
}
#endregion
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?