using System;
using System.Collections.Generic;
using System.Text;
using Mall.Common.Enum.User;
using VT.FW.DB;

namespace Mall.Model.Entity.User
{
    /// <summary>
    /// 储值卡合并/赠送
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Member_DepositMerge
    {
        /// <summary>
        /// Id
        /// </summary>        
        public int Id
        {
            get;
            set;
        }

        /// <summary>
        /// 原购买id(主要针对合并的记录与合并的id值)
        /// </summary>
        public int OldDepositBuyId { get; set; }


        /// <summary>
        /// 新购买id(主要针对合并的记录与合并的id值)
        /// </summary>
        public int NewDepositBuyId { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? UserId { get; set; }
        /// <summary>
        /// 储值卡id
        /// </summary>

        public int DepositId { get; set; }

        /// <summary>
        /// 储值卡名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 储值卡封面
        /// </summary>
        public string CouponIco { get; set; }
        /// <summary>
        /// 储值卡售价
        /// </summary>
        public decimal SalePrice { get; set; }

        /// <summary>
        /// 储值卡面值
        /// </summary>
        public decimal DepositPrice { get; set; }



        /// <summary>
        /// 1-合并记录，2-赠送记录
        /// </summary>
        public int MergeType { get; set; }


        /// <summary>
        /// CreateDate
        /// </summary>        
        public DateTime? CreateDate
        {
            get;
            set;
        }
        /// <summary>
        /// 商户号id
        /// </summary>        
        public int TenantId
        {
            get;
            set;
        }
        /// <summary>
        /// 小程序id
        /// </summary>        
        public int MallBaseId
        {
            get;
            set;
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
     
    }
}
