﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Qixol.Plugin.Widgets.Promo.Models
{
    public partial class IssuedCouponsModel
    {
        public IList<IssuedCouponModel> Coupons;

        public bool IsEditable { get; set; }
        public bool ShowSku { get; set; }
        public bool ShowProductImages { get; set; }

        public IssuedCouponsModel()
        {
            Coupons = new List<IssuedCouponModel>();
        }
    }

    #region nested classes

    public class IssuedCouponModel
    {
        public bool IsConfirmed { get; set; }

        public string Name { get; set; }

        public string Code { get; set; }

        public string Status { get; set; }

        public DateTime ValidTo { get; set; }

        public string DisplayDetails { get; set; }

    }

    #endregion
}