using Mall.Common.AOP;
using NPOI.SS.Formula.Functions;
using System;
using System.Collections.Generic;
using System.Text;

namespace Mall.Model.Query.Applet
{
    /// <summary>
    /// 个人中心-领劵中心
    /// </summary>

    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_DiscountCoupon_Applet
    {
        /// <summary>
        /// 优惠券id
        /// </summary>
        public int Id { get; set; }

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


        /// <summary>
        /// 优惠券名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 优惠券类型
        /// </summary>
        public int Type { get; set; }


        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }

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

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




        /// <summary>
        /// 最低消费
        /// </summary>
        public decimal Min_Price { get; set; }




        /// <summary>
        /// 
        /// </summary>
        public decimal Sub_Price { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int Total_Count { get; set; }


        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 优惠券有效期
        /// </summary>
        public int Expire_Type { get; set; }


        /// <summary>
        /// 有效天数
        /// </summary>
        public string Expire_Day { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string Begin_Time { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string End_Time { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int Appoint_Type { get; set; }

        /// <summary>
        /// 规则
        /// </summary>
        public string Rule { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int Is_Member { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int Is_Delete { get; set; }


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



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

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

        /// <summary>
        /// 优惠上限
        /// </summary>
        public string Discount_Limit { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public int Is_Receive { get; set; }



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


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


    public class Category
    {
        
        public int Id { get; set; }

        public int Mall_Id { get; set; }

        public int Mch_Id { get; set; }

        public int Parent_Id { get; set; }

        public string Name { get; set; }

       
    }
}
