using System;
using System.Collections.Generic;

// Code scaffolded by EF Core assumes nullable reference types (NRTs) are not used or disabled.
// If you have enabled NRTs for your project, then un-comment the following line:
// #nullable disable

namespace MS.WebApi.waynedbModels
{
    public partial class MCoupons
    {
        public MCoupons()
        {
            MUserCoupons = new HashSet<MUserCoupons>();
        }

        public int Id { get; set; }
        public string Uid { get; set; }
        public int? SiteId { get; set; }
        public long Version { get; set; }
        public DateTime Created { get; set; }
        public DateTime Modified { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public ulong Enabled { get; set; }
        public float Amount { get; set; }
        public float? SaleAmount { get; set; }
        public ulong NeedApply { get; set; }
        public ulong CheckOwner { get; set; }
        public int? ApplyLimit { get; set; }
        public int? IssueLimit { get; set; }
        public string Options { get; set; }
        public DateTime? Deleted { get; set; }
        public bool IsDeleted { get; set; }
        public string AttributeLimit { get; set; }
        public string DiscountType { get; set; }

        public virtual ICollection<MUserCoupons> MUserCoupons { get; set; }
    }
}
