Sms.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-11-15 20:10:33
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 Sms
- /// </summary>
- [Serializable]
- public class Sms
- {
- public Sms()
- { }
- /// <summary>
- /// 构造函数 Sms
- /// </summary>
- /// <param name="smsId">短信息Id</param>
- /// <param name="fromId">发送人Id</param>
- /// <param name="toId">接收人Id</param>
- /// <param name="type">类型</param>
- /// <param name="content">内容</param>
- /// <param name="sendTime">发送时间</param>
- /// <param name="remindFlag">提醒标志</param>
- /// <param name="url">关联Url</param>
- /// <param name="deleteFlag">删除标志</param>
- /// <param name="tableName"></param>
- /// <param name="relateId">关联Id</param>
- /// <param name="iD">ID</param>
- public Sms(int smsId, string fromId, string toId, int type, string content, DateTime sendTime, bool remindFlag, string url, int deleteFlag, string tableName, int relateId, int iD)
- {
- _smsId = smsId;
- _fromId = fromId;
- _toId = toId;
- _type = type;
- _content = content;
- _sendTime = sendTime;
- _remindFlag = remindFlag;
- _url = url;
- _deleteFlag = deleteFlag;
- _tableName = tableName;
- _relateId = relateId;
- _iD = iD;
- }
- #region Model
- private int _smsId;
- private string _fromId;
- private string _toId;
- private int _type;
- private string _content;
- private DateTime _sendTime;
- private bool _remindFlag;
- private string _url;
- private int _deleteFlag;
- private string _tableName;
- private int _relateId;
- private int _iD;
- /// <summary>
- /// 短信息Id
- /// </summary>
- public int SmsId
- {
- set { _smsId = value; }
- get { return _smsId; }
- }
- /// <summary>
- /// 发送人Id
- /// </summary>
- public string FromId
- {
- set { _fromId = value; }
- get { return _fromId; }
- }
- /// <summary>
- /// 接收人Id
- /// </summary>
- public string ToId
- {
- set { _toId = value; }
- get { return _toId; }
- }
- /// <summary>
- /// 类型
- /// </summary>
- public int Type
- {
- set { _type = value; }
- get { return _type; }
- }
- /// <summary>
- /// 内容
- /// </summary>
- public string Content
- {
- set { _content = value; }
- get { return _content; }
- }
- /// <summary>
- /// 发送时间
- /// </summary>
- public DateTime SendTime
- {
- set { _sendTime = value; }
- get { return _sendTime; }
- }
- /// <summary>
- /// 提醒标志
- /// </summary>
- public bool RemindFlag
- {
- set { _remindFlag = value; }
- get { return _remindFlag; }
- }
- /// <summary>
- /// 关联Url
- /// </summary>
- public string Url
- {
- set { _url = value; }
- get { return _url; }
- }
- /// <summary>
- /// 删除标志
- /// </summary>
- public int DeleteFlag
- {
- set { _deleteFlag = value; }
- get { return _deleteFlag; }
- }
- /// <summary>
- ///
- /// </summary>
- public string TableName
- {
- set { _tableName = value; }
- get { return _tableName; }
- }
- /// <summary>
- /// 关联Id
- /// </summary>
- public int RelateId
- {
- set { _relateId = value; }
- get { return _relateId; }
- }
- /// <summary>
- /// ID
- /// </summary>
- public int ID
- {
- set { _iD = value; }
- get { return _iD; }
- }
- #endregion Model
- }
- }