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

namespace XYY.Service.Standard.Finance.Charging.FeeFormula
{
    public class OtherBase
    {

        public OtherBase(DateTime version, int expressId, int customerId, string feeType, decimal price)
        {
            this.DateTimeVersion = long.Parse(version.ToString("yyyyMMdd"));
            this.Key = $"Other{feeType}{customerId.ToString("00000")}{expressId.ToString("00000")}";
            this.Price = price;
        }

        public long DateTimeVersion
        {
            get; set;
        }

        public string Key
        {
            get; set;
        }

        public decimal Price
        {
            get; set;
        }
    }
}
