using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Core.Standard;
using XYY.Model.Standard.Finance;

namespace XYY.Model.Standard.Enums
{
    public enum SettlementAdjustmentMode
    {
        每票元 = 1,
        每500G元 = 2,
        比例 = 3
    }

    public class Logistics_ExpressSettlementAdjustmentDetail : BaseEntity
    {
        /// <summary>
        /// 分区
        /// </summary>
        public string Zone
        {
            get; set;
        }

        public bool IsAll
        {
            get; set;
        }

        public SettlementAdjustmentMode Mode
        {
            get; set;
        }

        public double Value
        {
            get; set;
        }

        public int AdjustmentId
        {
            get; set;
        }
    }

    public class Logistics_ExpressSettlementAdjustmentDto
    {
        public int ExpressId
        {
            get; set;
        }

        public int[] CustomerId
        {
            get; set;
        }

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

    public class Logistics_ExpressSettlementAdjustment : BaseEntity
    {
        public string CustomerId
        {
            get; set;
        }

        public int ExpressId
        {
            get; set;
        }

        public DateTime AdjTime
        {
            get; set;
        }

        public string SettlementAdjustmentContent
        {
            get; set;
        }
    }

    public class GenerateExpressFeeFileDto
    {
        public Logistics_ExpressSettlementAdjustmentDto adjustmentDto { get; set; }
        public IEnumerable<View_Quotation> detail { get; set; }

    }
}
