using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// TradeSettings 的摘要说明
/// </summary>
namespace TradeSettings
{
    public class TTradeSettings
    {
        #region Model
        private int _id;
        private string _tradetype;
        private bool _isadd;
        private bool _isedit;
        private int _mark;
        private bool _isemail;
        private string _emailtitle;
        private string _emailinfo;
        private bool _issms;
        private string _smstitle;
        private string _smsinfo;
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商业类型
        /// </summary>
        public string TradeType
        {
            set { _tradetype = value; }
            get { return _tradetype; }
        }
        /// <summary>
        /// 添加时是否需要审核
        /// </summary>
        public bool isADD
        {
            set { _isadd = value; }
            get { return _isadd; }
        }
        /// <summary>
        /// 修改时是否需要审核
        /// </summary>
        public bool isEdit
        {
            set { _isedit = value; }
            get { return _isedit; }
        }
        /// <summary>
        /// 发布一条信息奖励的积分
        /// </summary>
        public int Mark
        {
            set { _mark = value; }
            get { return _mark; }
        }
        /// <summary>
        /// 审核通过是否发送邮件
        /// </summary>
        public bool isEmail
        {
            set { _isemail = value; }
            get { return _isemail; }
        }
        /// <summary>
        /// 邮件标题
        /// </summary>
        public string EmailTitle
        {
            set { _emailtitle = value; }
            get { return _emailtitle; }
        }
        /// <summary>
        /// 邮件内容
        /// </summary>
        public string EmailInfo
        {
            set { _emailinfo = value; }
            get { return _emailinfo; }
        }
        /// <summary>
        /// 审核通过是否发送短信
        /// </summary>
        public bool isSMS
        {
            set { _issms = value; }
            get { return _issms; }
        }
        /// <summary>
        /// 短信标题
        /// </summary>
        public string SMSTitle
        {
            set { _smstitle = value; }
            get { return _smstitle; }
        }
        /// <summary>
        /// 短信内容
        /// </summary>
        public string SMSInfo
        {
            set { _smsinfo = value; }
            get { return _smsinfo; }
        }
        #endregion Model
    }
}
