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

namespace RFrameGenerate.Model
{
    public class PT_BAS_Orders_SelectAll
    {
        public Guid OrderGuid { get; set; }
        public Guid MemberGuid { get; set; }
        public Guid LogisticrGuid { get; set; }
        public Guid? GroupGuid { get; set; }
        public string SKU { get; set; }
        public string OrderNo { get; set; }
        public int OrderState { get; set; }
        public int OrderInnerState { get; set; }
        public DateTime OrderTime { get; set; }
        public string ProductName { get; set; }
        public decimal Price { get; set; }
        public decimal DetailQuantity { get; set; }
        public decimal DetailAmount { get; set; }
        public string Picture { get; set; }
        public decimal TotalMoney { get; set; }
        public decimal Quantity { get; set; }
        public int State { get; set; }
        public bool IsComment { get; set; }
        public decimal DiscountPrice { get; set; }
        public Guid OrderDetailGuid { get; set; }


        public decimal Freight { get; set; }
        public decimal PrivilegelMoney { get; set; }
        public decimal IntegralMoney { get; set; }
    }

    public class OrderList
    {
        public Guid OrderGuid { get; set; }
        public Guid MemberGuid { get; set; }
        public Guid LogisticrGuid { get; set; }
        public string OrderNo { get; set; }
        public int OrderState { get; set; }
        public int OrderInnerState { get; set; }
        public DateTime OrderTime { get; set; }
        public decimal Amount { get; set; }
        public decimal Quantity { get; set; }
        public bool IsComment { get; set; }
        public Guid OrderDetailGuid { get; set; }
        public decimal DiscountPrice { get; set; }

        public List<OrderDetails> Details { get; set; }


    }
    public class OrderDetails
    {
        public Guid? GroupGuid { get; set; }
        public string SKU { get; set; }
        public string ProductName { get; set; }
        public decimal Price { get; set; }
        public decimal DetailQuantity { get; set; }
        public decimal DetailAmount { get; set; }
        public string Picture { get; set; }
        public int State { get; set; }
        public decimal DiscountPrice { get; set; }
    }
}
