using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XYY.Common.Standard.Attributes;
using XYY.Core.Standard;

namespace XYY.Model.Standard.Finance
{
    public class FBA_Incidental : BaseEntity
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        public int OrderId
        {
            get; set;
        }

        /// <summary>
        /// 费用名称
        /// </summary>
        public string Name
        {
            get; set;
        }

        /// <summary>
        /// 费用类型
        /// </summary>
        public FBAIncidentalCalculateType CalculateType
        {
            get; set;
        }

        /// <summary>
        /// 计费对象
        /// </summary>
        public FBAIncidentalCalculateTarget Target
        {
            get; set;
        }

        /// <summary>
        /// 费用金额
        /// </summary>
        public decimal Fee
        {
            get; set;
        }
        public int? FBAOtherFeeId { get; set; }
        public string CustomerRemark { get; set; }
        public string JSRemark { get; set; }
        public bool? SysncJS { get; set; }
        [NoDb]
        public string OrderNo { get; set; }
    }

    public enum FBAIncidentalCalculateTarget
    {
        客户 = 0,
        结算价 = 1,
        成本=2,
    }

    public enum FBAIncidentalCalculateType
    {
        称重_KG = 0,
        固定 = 1
    }
}
