using VT.FW.DB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mall.Model.Entity.User
{
    /// <summary>
    /// 会员订阅消息实体表
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Member_Subscription
    {

        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 会员id
        /// </summary>        
        public int? UserId
        {
            get;
            set;
        }

        /// <summary>
        /// 订阅模板id
        /// </summary>
        public string TempleteId { get; set; }

        /// <summary>
        /// OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 类型  1赞羊
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 次数
        /// </summary>
        public int? Count { get; set; }
        /// <summary>
        /// 商户号id
        /// </summary>
        public int TenantId { get; set; }

        /// <summary>
        /// 小程序id
        /// </summary>
        public int MallBaseId { get; set; }
    }
}
