using System;
using System.Collections.Generic;
using System.Text;

namespace MS.Entities.Promotion
{
    public class PromotionRequest
    {
        public string AccountId { get; set; }
        public Guid OwnerId { get; set; }
        public Guid Id { get; set; }
        public decimal Amount { get; set; }
        public decimal AmountAfterDiscount { get; set; }
        public DateTime Created { get; set; }
        public string AccountIcCardNo { get; set; }
        public List<PromotionRequestItem> Items { get; set; }
        public List<Payment> Payments { get; set; }
        public List<string> CouponUidList { get; set; }
        public List<string> DiscountUidList { get; set; }
    }
    public class Payment
    {
        public string Name { get; set; }
        public decimal Value { get; set; }
    }

    public class PromotionRequestItem
    {
        public Guid Id { get; set; }
        public Guid LineItemId { get; set; }
        public string Category { get; set; }
        public string Name { get; set; }
        public string Barcode { get; set; }
        public decimal Quantity { get; set; }
        public decimal Price { get; set; }
        public decimal Amount { get; set; }
        public decimal NetAmount { get; set; }
    }

}
