Mails.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:4k
- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-11-11 19:08:07
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 Mails
- /// </summary>
- [Serializable]
- public class Mails
- {
- public Mails()
- { }
- /// <summary>
- /// 构造函数 Mails
- /// </summary>
- /// <param name="mailID">MailID</param>
- /// <param name="title">Title</param>
- /// <param name="body">Body</param>
- /// <param name="fromAddress">FromAddress</param>
- /// <param name="toAddress">ToAddress</param>
- /// <param name="cCAddress">CCAddress</param>
- /// <param name="hTMLFormat">HTMLFormat</param>
- /// <param name="senderDate">SenderDate</param>
- /// <param name="contain">Contain</param>
- /// <param name="attachmentFlag">AttachmentFlag</param>
- /// <param name="readerFlag">已读标记</param>
- /// <param name="folderID">文件ID</param>
- /// <param name="isInnerEmail">是否为内网邮件</param>
- /// <param name="uID">用户ID</param>
- public Mails(int mailID, string title, string body, string fromAddress, string toAddress, string cCAddress, bool hTMLFormat, DateTime senderDate, int contain, bool attachmentFlag, bool readerFlag, int folderID, bool isInnerEmail, int uID)
- {
- _mailID = mailID;
- _title = title;
- _body = body;
- _fromAddress = fromAddress;
- _toAddress = toAddress;
- _cCAddress = cCAddress;
- _hTMLFormat = hTMLFormat;
- _senderDate = senderDate;
- _contain = contain;
- _attachmentFlag = attachmentFlag;
- _readerFlag = readerFlag;
- _folderID = folderID;
- _isInnerEmail = isInnerEmail;
- _uID = uID;
- }
- #region Model
- private int _mailID;
- private string _title;
- private string _body;
- private string _fromAddress;
- private string _toAddress;
- private string _cCAddress;
- private bool _hTMLFormat;
- private DateTime _senderDate;
- private int _contain;
- private bool _attachmentFlag;
- private bool _readerFlag;
- private int _folderID;
- private bool _isInnerEmail;
- private int _uID;
- /// <summary>
- /// MailID
- /// </summary>
- public int MailID
- {
- set { _mailID = value; }
- get { return _mailID; }
- }
- /// <summary>
- /// Title
- /// </summary>
- public string Title
- {
- set { _title = value; }
- get { return _title; }
- }
- /// <summary>
- /// Body
- /// </summary>
- public string Body
- {
- set { _body = value; }
- get { return _body; }
- }
- /// <summary>
- /// FromAddress
- /// </summary>
- public string FromAddress
- {
- set { _fromAddress = value; }
- get { return _fromAddress; }
- }
- /// <summary>
- /// ToAddress
- /// </summary>
- public string ToAddress
- {
- set { _toAddress = value; }
- get { return _toAddress; }
- }
- /// <summary>
- /// CCAddress
- /// </summary>
- public string CCAddress
- {
- set { _cCAddress = value; }
- get { return _cCAddress; }
- }
- /// <summary>
- /// HTMLFormat
- /// </summary>
- public bool HTMLFormat
- {
- set { _hTMLFormat = value; }
- get { return _hTMLFormat; }
- }
- /// <summary>
- /// SenderDate
- /// </summary>
- public DateTime SenderDate
- {
- set { _senderDate = value; }
- get { return _senderDate; }
- }
- /// <summary>
- /// Contain
- /// </summary>
- public int Contain
- {
- set { _contain = value; }
- get { return _contain; }
- }
- /// <summary>
- /// AttachmentFlag
- /// </summary>
- public bool AttachmentFlag
- {
- set { _attachmentFlag = value; }
- get { return _attachmentFlag; }
- }
- /// <summary>
- /// 已读标记
- /// </summary>
- public bool ReaderFlag
- {
- set { _readerFlag = value; }
- get { return _readerFlag; }
- }
- /// <summary>
- /// 文件ID
- /// </summary>
- public int FolderID
- {
- set { _folderID = value; }
- get { return _folderID; }
- }
- /// <summary>
- /// 是否为内网邮件
- /// </summary>
- public bool IsInnerEmail
- {
- set { _isInnerEmail = value; }
- get { return _isInnerEmail; }
- }
- /// <summary>
- /// 用户ID
- /// </summary>
- public int UID
- {
- set { _uID = value; }
- get { return _uID; }
- }
- #endregion Model
- }
- }